Bug 1417332 - Convert CDM Error to CDM Exception when we got OnLegacySessionError from CDM. r=cpearce

MozReview-Commit-ID: FQRZAhNfOcV

--HG--
extra : rebase_source : 3255554058fb450710e8086a65e24eb6545e2b71
This commit is contained in:
James Cheng 2017-11-15 15:55:39 +08:00
Родитель d0c08baa87
Коммит 464a5841ed
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -460,7 +460,7 @@ ChromiumCDMChild::OnLegacySessionError(const char* aSessionId,
CallOnMessageLoopThread("gmp::ChromiumCDMChild::OnLegacySessionError",
&ChromiumCDMChild::SendOnLegacySessionError,
nsCString(aSessionId, aSessionIdLength),
static_cast<uint32_t>(aError),
ConvertCDMErrorToCDMException(aError),
aSystemCode,
nsCString(aErrorMessage, aErrorMessageLength));
}