summaryrefslogtreecommitdiffstats
path: root/dom/media/gmp/GMPParent.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-05 22:32:52 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 12:29:44 +0200
commite29301f5d0fa6b8d5892169fa1d6b50798cbe94d (patch)
treef40bc5a28fb6377d0f87ad58d3e1ac5f2cc29c3c /dom/media/gmp/GMPParent.cpp
parent369ad75fc81847c2b7ce11b92e9f5b3e4d894cfe (diff)
downloadUXP-e29301f5d0fa6b8d5892169fa1d6b50798cbe94d.tar
UXP-e29301f5d0fa6b8d5892169fa1d6b50798cbe94d.tar.gz
UXP-e29301f5d0fa6b8d5892169fa1d6b50798cbe94d.tar.lz
UXP-e29301f5d0fa6b8d5892169fa1d6b50798cbe94d.tar.xz
UXP-e29301f5d0fa6b8d5892169fa1d6b50798cbe94d.zip
Issue #26 - Part 2c: Remove dependence on gmp/widevine-adapter/*
Diffstat (limited to 'dom/media/gmp/GMPParent.cpp')
-rw-r--r--dom/media/gmp/GMPParent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/gmp/GMPParent.cpp b/dom/media/gmp/GMPParent.cpp
index a0027c6f8..84603e973 100644
--- a/dom/media/gmp/GMPParent.cpp
+++ b/dom/media/gmp/GMPParent.cpp
@@ -760,10 +760,10 @@ GMPParent::ReadChromiumManifestFile(nsIFile* aFile)
RefPtr<GenericPromise>
GMPParent::ParseChromiumManifest(nsString aJSON)
{
+#ifdef MOZ_EME
LOGD("%s: for '%s'", __FUNCTION__, NS_LossyConvertUTF16toASCII(aJSON).get());
MOZ_ASSERT(NS_IsMainThread());
-#ifdef MOZ_EME
mozilla::dom::WidevineCDMManifest m;
if (!m.Init(aJSON)) {
return GenericPromise::CreateAndReject(NS_ERROR_FAILURE, __func__);