diff options
author | Matt A. Tobin <email@mattatobin.com> | 2022-04-21 01:14:32 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-04-21 01:24:11 -0500 |
commit | 25a9692606419e2827f1c9413831b92eb289fa74 (patch) | |
tree | 6906b423975ad4977af48715ccd88609b7dd1f2f /dom | |
parent | ce25ea52c71c7e443acba82a1171ab8f16272338 (diff) | |
download | aura-central-25a9692606419e2827f1c9413831b92eb289fa74.tar.gz |
Issue #25 - Part 10: Remove EME from dom/media/(fmp4|webaudio)
Diffstat (limited to 'dom')
-rw-r--r-- | dom/media/fmp4/MP4Decoder.cpp | 3 | ||||
-rwxr-xr-x | dom/media/webaudio/AudioContext.cpp | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/dom/media/fmp4/MP4Decoder.cpp b/dom/media/fmp4/MP4Decoder.cpp index 7a340d829..8cddfc4f4 100644 --- a/dom/media/fmp4/MP4Decoder.cpp +++ b/dom/media/fmp4/MP4Decoder.cpp @@ -10,9 +10,6 @@ #include "MP4Demuxer.h" #include "mozilla/Preferences.h" #include "nsCharSeparatedTokenizer.h" -#ifdef MOZ_EME -#include "mozilla/CDMProxy.h" -#endif #include "mozilla/Logging.h" #include "mozilla/SharedThreadPool.h" #include "nsMimeTypes.h" diff --git a/dom/media/webaudio/AudioContext.cpp b/dom/media/webaudio/AudioContext.cpp index 3c7958349..febecdd0a 100755 --- a/dom/media/webaudio/AudioContext.cpp +++ b/dom/media/webaudio/AudioContext.cpp @@ -371,13 +371,6 @@ AudioContext::CreateMediaElementSource(HTMLMediaElement& aMediaElement, return nullptr; } -#ifdef MOZ_EME - if (aMediaElement.ContainsRestrictedContent()) { - aRv.Throw(NS_ERROR_DOM_NOT_SUPPORTED_ERR); - return nullptr; - } -#endif - if (CheckClosed(aRv)) { return nullptr; } |