summaryrefslogtreecommitdiffstats
path: root/dom/media/gtest/MockMediaDecoderOwner.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/gtest/MockMediaDecoderOwner.h')
-rw-r--r--dom/media/gtest/MockMediaDecoderOwner.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/media/gtest/MockMediaDecoderOwner.h b/dom/media/gtest/MockMediaDecoderOwner.h
index 324f18141..1009ca30a 100644
--- a/dom/media/gtest/MockMediaDecoderOwner.h
+++ b/dom/media/gtest/MockMediaDecoderOwner.h
@@ -34,8 +34,10 @@ public:
void DownloadProgressed() override {}
void UpdateReadyState() override {}
void FirstFrameLoaded() override {}
+#ifdef MOZ_EME
void DispatchEncrypted(const nsTArray<uint8_t>& aInitData,
const nsAString& aInitDataType) override {}
+#endif
bool IsActive() const override { return true; }
bool IsHidden() const override { return false; }
void DownloadSuspended() override {}