Bug 1289473 - Accessibility+e10s prompt - follow up to add missing review nit changes. r=felipe
authorJim Mathies <jmathies@mozilla.com>
Wed, 27 Jul 2016 12:51:40 -0500
changeset 349037 855b04e6a3745f6be837b652bf81e557423408a2
parent 349036 60d7601e512787e8265f0c3ed52e67517a857b58
child 349038 71c43f3a49e42029f96c9b982151a6a6a8aee306
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfelipe
bugs1289473
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1289473 - Accessibility+e10s prompt - follow up to add missing review nit changes. r=felipe MozReview-Commit-ID: 9YPvTslPjDg
browser/components/nsBrowserGlue.js
--- a/browser/components/nsBrowserGlue.js
+++ b/browser/components/nsBrowserGlue.js
@@ -1334,17 +1334,17 @@ BrowserGlue.prototype = {
 
       if (willPrompt) {
         Services.tm.mainThread.dispatch(function() {
           DefaultBrowserCheck.prompt(RecentWindow.getMostRecentBrowserWindow());
         }.bind(this), Ci.nsIThread.DISPATCH_NORMAL);
       }
     }
 
-    E10SAccessibilityCheck.onWindowRestored();
+    E10SAccessibilityCheck.onWindowsRestored();
   },
 
   _createExtraDefaultProfile: function () {
     if (!AppConstants.MOZ_DEV_EDITION) {
       return;
     }
     // If Developer Edition is the only installed Firefox version and no other
     // profiles are present, create a second one for use by other versions.
@@ -3033,17 +3033,17 @@ var E10SAccessibilityCheck = {
           // Update this so users can check this while still running
           Services.prefs.setBoolPref("accessibility.loadedInLastSession", true);
           this._showE10sAccessibilityWarning();
         }
         break;
     }
   },
 
-  onWindowRestored: function() {
+  onWindowsRestored: function() {
     if (this._wantsPrompt) {
       this._wantsPrompt = false;
       this._showE10sAccessibilityWarning();
     }
   },
 
   _warnedAboutAccessibility: false,