Bug 1079312 - Fix invalid log.warning() to log.warn(). r=irving, a=sledru
authorGeorg Fritzsche <georg.fritzsche@googlemail.com>
Thu, 09 Oct 2014 18:02:25 +0200
changeset 225707 ae6317e02f72
parent 225706 c212fd07fd32
child 225708 1f7f807b6362
push id3987
push userryanvm@gmail.com
push date2014-10-16 14:34 +0000
treeherdermozilla-beta@1f7f807b6362 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersirving, sledru
bugs1079312
milestone34.0
Bug 1079312 - Fix invalid log.warning() to log.warn(). r=irving, a=sledru
toolkit/mozapps/extensions/internal/OpenH264Provider.jsm
--- a/toolkit/mozapps/extensions/internal/OpenH264Provider.jsm
+++ b/toolkit/mozapps/extensions/internal/OpenH264Provider.jsm
@@ -268,17 +268,17 @@ let OpenH264Provider = {
     prefs.observe(OPENH264_PREF_VERSION, this.onPrefVersionChanged, this);
     prefs.observe(OPENH264_PREF_LOGGING, configureLogging);
 
     if (this.gmpPath && enabled) {
       this._log.info("startup() - adding gmp directory " + this.gmpPath);
       try {
         gmpService.addPluginDirectory(this.gmpPath);
       } catch (e if e.name == 'NS_ERROR_NOT_AVAILABLE') {
-        this._log.warning("startup() - adding gmp directory failed with " + e.name + " - sandboxing not available?");
+        this._log.warn("startup() - adding gmp directory failed with " + e.name + " - sandboxing not available?");
       }
     }
 
     let telemetry = {};
     if (this.isEnabled) {
       telemetry[OPENH264_PLUGIN_ID] = {
 	userDisabled: OpenH264Wrapper.userDisabled,
 	version: OpenH264Wrapper.version,