summaryrefslogtreecommitdiff
path: root/dom/html
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
parent70dd5e7c66b1fe3f82e5b4db2406050baba15f05 (diff)
downloaduxp-71a1c47759f30f114ad4e5634ba5224744b7c18c.tar.gz
Fix Build Bustage - with "--enable-debug"
Diffstat (limited to 'dom/html')
-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 0b9f606f19..3954e62088 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()) {