зеркало из https://github.com/mozilla/gecko-dev.git
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 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
62ad838c22
Коммит
e2553af6ae
|
@ -127,7 +127,7 @@ var WindowHelper = {
|
||||||
messageManager.removeMessageListener("Browser:Init", _handleMessage);
|
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 this window was the last focused window, we don't need to do anything
|
||||||
if (window == _trackedWindows[0])
|
if (window == _trackedWindows[0])
|
||||||
return;
|
return;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче