diff --git a/content/media/gmp/GMPDecryptorChild.cpp b/content/media/gmp/GMPDecryptorChild.cpp index 3b0a50ffed67..892f29b7751e 100644 --- a/content/media/gmp/GMPDecryptorChild.cpp +++ b/content/media/gmp/GMPDecryptorChild.cpp @@ -13,8 +13,10 @@ namespace mozilla { namespace gmp { GMPDecryptorChild::GMPDecryptorChild(GMPChild* aPlugin) - : mPlugin(aPlugin) - , mSession(nullptr) + : mSession(nullptr) +#ifdef DEBUG + , mPlugin(aPlugin) +#endif { MOZ_ASSERT(mPlugin); } diff --git a/content/media/gmp/GMPDecryptorChild.h b/content/media/gmp/GMPDecryptorChild.h index 786518ed33fc..ecc6229f50e4 100644 --- a/content/media/gmp/GMPDecryptorChild.h +++ b/content/media/gmp/GMPDecryptorChild.h @@ -114,11 +114,13 @@ private: virtual bool RecvDecryptingComplete() MOZ_OVERRIDE; - GMPChild* mPlugin; - // GMP's GMPDecryptor implementation. // Only call into this on the (GMP process) main thread. GMPDecryptor* mSession; + +#ifdef DEBUG + GMPChild* mPlugin; +#endif }; } // namespace gmp