Bug 1079312 - Fix invalid log.warning() to log.warn(). r=irving
authorGeorg Fritzsche <georg.fritzsche@googlemail.com>
Thu, 09 Oct 2014 18:02:25 +0200
changeset 210358 26841ad4d2eb5f7595ee5795cd12c9eb06035ecb
parent 210357 b35fab01586c202ea94f93a54ab9f820ccc268c8
child 210359 a14b8bf72b1655f2dd70d1a7bc022abb6f9bf96d
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersirving
bugs1079312
milestone36.0a1
Bug 1079312 - Fix invalid log.warning() to log.warn(). r=irving
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,