summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-04-21 01:14:32 -0500
committerMatt A. Tobin <email@mattatobin.com>2022-04-21 01:24:11 -0500
commit25a9692606419e2827f1c9413831b92eb289fa74 (patch)
tree6906b423975ad4977af48715ccd88609b7dd1f2f /dom
parentce25ea52c71c7e443acba82a1171ab8f16272338 (diff)
downloadaura-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.cpp3
-rwxr-xr-xdom/media/webaudio/AudioContext.cpp7
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;
}