Bug 670476 - Follow-up. Fix NITs found after pushing the original patch. r=me
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Sun, 28 Oct 2018 00:34:38 +0200
changeset 32753 f3acec1ae9e95371b699155f0b572eb9b12ecedf
parent 32752 50bc86d0ddd6bd672deff8dc08da21c992a17ab1
child 32754 0680cc858ed9d25e748180abb9c6c5e0c77bfd90
push id2343
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:37:21 +0000
treeherdercomm-beta@a0750c375f71 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs670476
Bug 670476 - Follow-up. Fix NITs found after pushing the original patch. r=me
suite/browser/navigator.js
suite/themes/classic/mac/navigator/navigator.css
suite/themes/classic/navigator/navigator.css
suite/themes/modern/navigator/navigator.css
--- a/suite/browser/navigator.js
+++ b/suite/browser/navigator.js
@@ -47,21 +47,21 @@ var gURIFixup = null;
 // Listeners for updating zoom value in status bar
 const ZoomListeners =
 {
 
   // Identifies the setting in the content prefs database.
   name: "browser.content.full-zoom",
 
   QueryInterface:
-  XPCOMUtils.generateQI([Components.interfaces.nsIObserver,
-                         Components.interfaces.nsIContentPrefObserver,
-                         Components.interfaces.nsIContentPrefCallback2,
-                         Components.interfaces.nsISupportsWeakReference,
-                         Components.interfaces.nsISupports]),
+  XPCOMUtils.generateQI([Ci.nsIObserver,
+                         Ci.nsIContentPrefObserver,
+                         Ci.nsIContentPrefCallback2,
+                         Ci.nsISupportsWeakReference,
+                         Ci.nsISupports]),
 
   init: function ()
   {
     Cc["@mozilla.org/content-pref/service;1"]
     .getService(Ci.nsIContentPrefService2)
     .addObserverForName(this.name, this);
 
     Services.prefs.addObserver("browser.zoom.", this, true);
--- a/suite/themes/classic/mac/navigator/navigator.css
+++ b/suite/themes/classic/mac/navigator/navigator.css
@@ -1019,13 +1019,13 @@ toolbar[mode="text"] toolbarbutton.chevr
 }
 
 #feedsButton[open="true"] {
   -moz-image-region: rect(48px 32px 64px 16px) !important;
 }
 
 /* Need to set fixed width to stop the zoom display from changing size and moving around the zoom buttons */
 #zoomLevel-display {
-  width:60px;
-  max-width:60px;
+  width: 60px;
+  max-width: 60px;
   margin-left: 0px;
   margin-right: 0px;
 }
--- a/suite/themes/classic/navigator/navigator.css
+++ b/suite/themes/classic/navigator/navigator.css
@@ -807,13 +807,13 @@ toolbar[mode="text"] toolbarbutton.chevr
 }
 
 #feedsButton:hover {
   -moz-image-region: rect(16px 32px 32px 16px);
 }
 
 /* Need to set fixed width to stop the zoom display from changing size and moving around the zoom buttons */
 #zoomLevel-display {
-  width:60px;
-  max-width:60px;
+  width: 60px;
+  max-width: 60px;
   margin-left: 0px;
   margin-right: 0px;
 }
--- a/suite/themes/modern/navigator/navigator.css
+++ b/suite/themes/modern/navigator/navigator.css
@@ -969,17 +969,17 @@ toolbar[mode="text"] toolbarbutton.chevr
 }
 
 #feedsButton:hover {
   -moz-image-region: rect(16px 32px 32px 16px);
 }
 
 /* Need to set fixed width to stop the zoom display from changing size and moving around the zoom buttons */
 #zoomLevel-display {
-  width:60px;
-  max-width:60px;
+  width: 60px;
+  max-width: 60px;
   margin-left: 0px;
   margin-right: 0px;
 }
 
 .zoom-button-align{
   padding-bottom: 3px;
 }