Bug 1305732 - part7 : remove duplicated declaration. r=heycam a=RyanVM
authoralwu <alwu@mozilla.com>
Mon, 08 Jul 2019 04:47:46 +0000
changeset 544489 58db79efd8d4923173a9fad2b00e0826712b69de
parent 544488 b399656312da76da5a28661dd229b37c0f154b35
child 544490 2bd470454f7214f71fc90f4095c9ee58b7f09525
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam, RyanVM
bugs1305732
milestone69.0
Bug 1305732 - part7 : remove duplicated declaration. r=heycam a=RyanVM We have declared `supportPseudo`, remove the duplicated declaration. Differential Revision: https://phabricator.services.mozilla.com/D36851
dom/media/webvtt/vtt.jsm
--- a/dom/media/webvtt/vtt.jsm
+++ b/dom/media/webvtt/vtt.jsm
@@ -503,19 +503,16 @@ XPCOMUtils.defineLazyPreferenceGetter(th
       }
     }
   };
 
   StyleBox.prototype.formatStyle = function(val, unit) {
     return val === 0 ? 0 : val + unit;
   };
 
-  XPCOMUtils.defineLazyPreferenceGetter(StyleBox.prototype, "supportPseudo",
-                                        "media.webvtt.pseudo.enabled", false);
-
   // TODO(alwu): remove StyleBox and change other style box to class-based.
   class StyleBoxBase {
     applyStyles(styles, div) {
       div = div || this.div;
       Object.assign(div.style, styles);
     }
 
     formatStyle(val, unit) {