summaryrefslogtreecommitdiff
path: root/dom/media/webaudio/AudioContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/webaudio/AudioContext.cpp')
-rwxr-xr-xdom/media/webaudio/AudioContext.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/dom/media/webaudio/AudioContext.cpp b/dom/media/webaudio/AudioContext.cpp
index 44285735be..9539133a4f 100755
--- a/dom/media/webaudio/AudioContext.cpp
+++ b/dom/media/webaudio/AudioContext.cpp
@@ -372,13 +372,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;
}