diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-24 11:37:35 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-24 11:37:35 +0100 |
commit | 1dbd9799db37d8491a1ddb2d47e89f40fefd9c63 (patch) | |
tree | 643cdfe45e539567a32b60f23ff890dca5f5b64c /dom/media/webaudio | |
parent | c88c161875beca091fe183a3b04480422b3d3885 (diff) | |
download | UXP-1dbd9799db37d8491a1ddb2d47e89f40fefd9c63.tar UXP-1dbd9799db37d8491a1ddb2d47e89f40fefd9c63.tar.gz UXP-1dbd9799db37d8491a1ddb2d47e89f40fefd9c63.tar.lz UXP-1dbd9799db37d8491a1ddb2d47e89f40fefd9c63.tar.xz UXP-1dbd9799db37d8491a1ddb2d47e89f40fefd9c63.zip |
Fix up leftover merge conflicts.
Tag #26
Diffstat (limited to 'dom/media/webaudio')
-rw-r--r-- | dom/media/webaudio/AudioContext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/media/webaudio/AudioContext.cpp b/dom/media/webaudio/AudioContext.cpp index f61226a48..a36eda621 100644 --- a/dom/media/webaudio/AudioContext.cpp +++ b/dom/media/webaudio/AudioContext.cpp @@ -379,10 +379,12 @@ 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; |