Bug 1089867: Rename media.eme.adobe-access.enabled pref to media.gmp-eme-adobe.enabled. r=cpearce a=lmandel
authorStephen Pohl <spohl.mozilla.bugs@gmail.com>
Tue, 17 Feb 2015 12:50:16 -0500
changeset 249094 9b9911bc6bd59e2797faba856c84bf7804fa47ed
parent 249093 d8e655d11fc5ff4278ddd75b9d41d154c41a2383
child 249095 f0b35fc2bfbf0768dcd6e5da3e50f8ccb48356b7
push id970
push userjryans@gmail.com
push dateTue, 10 Mar 2015 15:54:18 +0000
reviewerscpearce, lmandel
bugs1089867
milestone37.0
Bug 1089867: Rename media.eme.adobe-access.enabled pref to media.gmp-eme-adobe.enabled. r=cpearce a=lmandel
dom/media/eme/MediaKeySystemAccess.cpp
--- a/dom/media/eme/MediaKeySystemAccess.cpp
+++ b/dom/media/eme/MediaKeySystemAccess.cpp
@@ -116,17 +116,17 @@ MediaKeySystemAccess::GetKeySystemStatus
 
 #ifdef XP_WIN
   if ((aKeySystem.EqualsLiteral("com.adobe.access") ||
        aKeySystem.EqualsLiteral("com.adobe.primetime"))) {
     // Win Vista and later only.
     if (!IsVistaOrLater()) {
       return MediaKeySystemStatus::Cdm_not_supported;
     }
-    if (!Preferences::GetBool("media.eme.adobe-access.enabled", false)) {
+    if (!Preferences::GetBool("media.gmp-eme-adobe.enabled", false)) {
       return MediaKeySystemStatus::Cdm_disabled;
     }
     if (!HaveGMPFor(mps,
                     NS_ConvertUTF16toUTF8(aKeySystem),
                     NS_LITERAL_CSTRING(GMP_API_DECRYPTOR))) {
       return MediaKeySystemStatus::Cdm_not_installed;
     }
     return MediaKeySystemStatus::Available;