diff options
author | trav90 <travawine@protonmail.ch> | 2019-02-08 10:35:58 -0600 |
---|---|---|
committer | trav90 <travawine@protonmail.ch> | 2019-02-08 10:35:58 -0600 |
commit | 1fa998d8919375312d20d6d54bae955d166031c7 (patch) | |
tree | dc27c0e6c7528d6c9691ad90130d9c576c358b17 /dom/media/gmp/widevine-adapter/WidevineUtils.h | |
parent | 4adc4098851a84ed9436162e8114c6f834fbb64c (diff) | |
download | UXP-1fa998d8919375312d20d6d54bae955d166031c7.tar UXP-1fa998d8919375312d20d6d54bae955d166031c7.tar.gz UXP-1fa998d8919375312d20d6d54bae955d166031c7.tar.lz UXP-1fa998d8919375312d20d6d54bae955d166031c7.tar.xz UXP-1fa998d8919375312d20d6d54bae955d166031c7.zip |
[EME] Make WidevineAdapter compatible with CDM version 9
NOTE: this breaks compatibility with CDM version 8.
Diffstat (limited to 'dom/media/gmp/widevine-adapter/WidevineUtils.h')
-rw-r--r-- | dom/media/gmp/widevine-adapter/WidevineUtils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/media/gmp/widevine-adapter/WidevineUtils.h b/dom/media/gmp/widevine-adapter/WidevineUtils.h index 57c004a87..ca65ff881 100644 --- a/dom/media/gmp/widevine-adapter/WidevineUtils.h +++ b/dom/media/gmp/widevine-adapter/WidevineUtils.h @@ -48,12 +48,12 @@ class CDMWrapper { public: NS_INLINE_DECL_THREADSAFE_REFCOUNTING(CDMWrapper) - explicit CDMWrapper(cdm::ContentDecryptionModule_8* aCDM, + explicit CDMWrapper(cdm::ContentDecryptionModule_9* aCDM, WidevineDecryptor* aDecryptor); - cdm::ContentDecryptionModule_8* GetCDM() const { return mCDM; } + cdm::ContentDecryptionModule_9* GetCDM() const { return mCDM; } private: ~CDMWrapper(); - cdm::ContentDecryptionModule_8* mCDM; + cdm::ContentDecryptionModule_9* mCDM; RefPtr<WidevineDecryptor> mDecryptor; }; |