diff options
Diffstat (limited to 'dom/media/webaudio/AudioContext.cpp')
-rw-r--r-- | dom/media/webaudio/AudioContext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/media/webaudio/AudioContext.cpp b/dom/media/webaudio/AudioContext.cpp index f61226a482..bd7ef20fc4 100644 --- a/dom/media/webaudio/AudioContext.cpp +++ b/dom/media/webaudio/AudioContext.cpp @@ -378,11 +378,12 @@ AudioContext::CreateMediaElementSource(HTMLMediaElement& aMediaElement, aRv.Throw(NS_ERROR_DOM_NOT_SUPPORTED_ERR); return nullptr; } - +#ifdef MOZ_EME if (aMediaElement.ContainsRestrictedContent()) { aRv.Throw(NS_ERROR_DOM_NOT_SUPPORTED_ERR); return nullptr; } +#endif if (CheckClosed(aRv)) { return nullptr; |