summaryrefslogtreecommitdiffstats
path: root/dom/media
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2019-02-09 07:50:35 -0600
committertrav90 <travawine@palemoon.org>2019-02-09 07:50:35 -0600
commitcece1cb715b43fd99ec3dda926abe30181a8f5dd (patch)
treeaf2c73c5715d362fece139d8794188918a31ba23 /dom/media
parent05a51611bc15f436adac30ea7097a48bb7c7b51e (diff)
downloadUXP-cece1cb715b43fd99ec3dda926abe30181a8f5dd.tar
UXP-cece1cb715b43fd99ec3dda926abe30181a8f5dd.tar.gz
UXP-cece1cb715b43fd99ec3dda926abe30181a8f5dd.tar.lz
UXP-cece1cb715b43fd99ec3dda926abe30181a8f5dd.tar.xz
UXP-cece1cb715b43fd99ec3dda926abe30181a8f5dd.zip
[EME] Remove WidevineDecryptor::OnLegacySessionError
Not needed for more recent CDM versions.
Diffstat (limited to 'dom/media')
-rw-r--r--dom/media/gmp/widevine-adapter/WidevineDecryptor.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/dom/media/gmp/widevine-adapter/WidevineDecryptor.cpp b/dom/media/gmp/widevine-adapter/WidevineDecryptor.cpp
index 150480644..f89888a72 100644
--- a/dom/media/gmp/widevine-adapter/WidevineDecryptor.cpp
+++ b/dom/media/gmp/widevine-adapter/WidevineDecryptor.cpp
@@ -486,28 +486,6 @@ WidevineDecryptor::OnSessionClosed(const char* aSessionId,
}
void
-WidevineDecryptor::OnLegacySessionError(const char* aSessionId,
- uint32_t aSessionIdLength,
- Error aError,
- uint32_t aSystemCode,
- const char* aErrorMessage,
- uint32_t aErrorMessageLength)
-{
- if (!mCallback) {
- Log("Decryptor::OnLegacySessionError(sid=%s, error=%d) FAIL; !mCallback",
- aSessionId, (int)aError);
- return;
- }
- Log("Decryptor::OnLegacySessionError(sid=%s, error=%d)", aSessionId, (int)aError);
- mCallback->SessionError(aSessionId,
- aSessionIdLength,
- ToGMPDOMException(aError),
- aSystemCode,
- aErrorMessage,
- aErrorMessageLength);
-}
-
-void
WidevineDecryptor::SendPlatformChallenge(const char* aServiceId,
uint32_t aServiceIdSize,
const char* aChallenge,