summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLMediaElement.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-12 12:34:59 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-12 12:34:59 +0200
commit71a1c47759f30f114ad4e5634ba5224744b7c18c (patch)
tree70534e710a15d7bc40cfdf24fad22f05a67f70e3 /dom/html/HTMLMediaElement.cpp
parent70dd5e7c66b1fe3f82e5b4db2406050baba15f05 (diff)
downloadUXP-71a1c47759f30f114ad4e5634ba5224744b7c18c.tar
UXP-71a1c47759f30f114ad4e5634ba5224744b7c18c.tar.gz
UXP-71a1c47759f30f114ad4e5634ba5224744b7c18c.tar.lz
UXP-71a1c47759f30f114ad4e5634ba5224744b7c18c.tar.xz
UXP-71a1c47759f30f114ad4e5634ba5224744b7c18c.zip
Fix Build Bustage - with "--enable-debug"
Diffstat (limited to 'dom/html/HTMLMediaElement.cpp')
-rw-r--r--dom/html/HTMLMediaElement.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/html/HTMLMediaElement.cpp b/dom/html/HTMLMediaElement.cpp
index 0b9f606f1..3954e6208 100644
--- a/dom/html/HTMLMediaElement.cpp
+++ b/dom/html/HTMLMediaElement.cpp
@@ -5514,7 +5514,9 @@ void HTMLMediaElement::SuspendOrResumeElement(bool aPauseElement, bool aSuspendE
}
mEventDeliveryPaused = aSuspendEvents;
} else {
+#ifdef MOZ_EME
MOZ_ASSERT(!mMediaKeys);
+#endif
if (mDecoder) {
mDecoder->Resume();
if (!mPaused && !mDecoder->IsEnded()) {