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:
savvysiddharth 2018-09-29 09:39:57 +00:00
Родитель 62ad838c22
Коммит e2553af6ae
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -127,7 +127,7 @@ var WindowHelper = {
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;