Bug 1494276 - Removed unused hasFocus parameter from WindowHelper.onActivate;r=dao
authorsavvysiddharth <siddharth21805@gmail.com>
Sat, 29 Sep 2018 09:39:57 +0000
changeset 494612 177ee73ca28834715178aebafd19faebf2e1c85a
parent 494611 87256a1f66d244e80e1cb2e5141a9e0182892019
child 494613 994badb573ef05a94f82f5d9daf9a7b9576bb60e
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1494276
milestone64.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 1494276 - Removed unused hasFocus parameter from WindowHelper.onActivate;r=dao hasFocus parameter was unused in BrowserWindowTracker.jsm Differential Revision: https://phabricator.services.mozilla.com/D7237
browser/modules/BrowserWindowTracker.jsm
--- a/browser/modules/BrowserWindowTracker.jsm
+++ b/browser/modules/BrowserWindowTracker.jsm
@@ -122,17 +122,17 @@ var WindowHelper = {
     WINDOW_EVENTS.forEach(function(event) {
       window.removeEventListener(event, _handleEvent);
     });
 
     let messageManager = window.getGroupMessageManager("browsers");
     messageManager.removeMessageListener("Browser:Init", _handleMessage);
   },
 
-  onActivate(window, hasFocus) {
+  onActivate(window) {
     // If this window was the last focused window, we don't need to do anything
     if (window == _trackedWindows[0])
       return;
 
     _untrackWindowOrder(window);
     _trackWindowOrder(window);
 
     _updateCurrentContentOuterWindowID(window.gBrowser.selectedBrowser);