Bug 1136707 - [Part2] Remove the pref 'media.eme.clearkey.enabled' in browser. r=Gijs

MozReview-Commit-ID: LsUdsFOaJlz

--HG--
extra : transplant_source : _%CF%3F%D9%8D%3C72%D2%5C%BB%23%BFP-%2A%A3%9C%FA%93
This commit is contained in:
Kilik Kuo 2016-07-27 12:05:00 +08:00
parent 3de7882657
commit 98189913b6

View File

@ -19,10 +19,6 @@ var gEMEHandler = {
Services.prefs.getPrefType("media.gmp-eme-adobe.enabled") &&
!Services.prefs.getBoolPref("media.gmp-eme-adobe.enabled")) {
Services.prefs.setBoolPref("media.gmp-eme-adobe.enabled", true);
} else if (keySystem == "org.w3.clearkey" &&
Services.prefs.getPrefType("media.eme.clearkey.enabled") &&
!Services.prefs.getBoolPref("media.eme.clearkey.enabled")) {
Services.prefs.setBoolPref("media.eme.clearkey.enabled", true);
} else if (keySystem == "com.widevine.alpha" &&
Services.prefs.getPrefType("media.gmp-widevinecdm.enabled") &&
!Services.prefs.getBoolPref("media.gmp-widevinecdm.enabled")) {