diff options
Diffstat (limited to 'mobile/android/chrome/geckoview/geckoview.js')
-rw-r--r-- | mobile/android/chrome/geckoview/geckoview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile/android/chrome/geckoview/geckoview.js b/mobile/android/chrome/geckoview/geckoview.js index 6dc5ed4610..dc7ceab7f8 100644 --- a/mobile/android/chrome/geckoview/geckoview.js +++ b/mobile/android/chrome/geckoview/geckoview.js @@ -255,7 +255,7 @@ var ModuleManager = { this._moduleByActorName[aActorName].receiveMessage(aMessage); }, - onEvent(aEvent, aData, aCallback) { + onEvent(aEvent, aData) { debug`onEvent ${aEvent} ${aData}`; switch (aEvent) { case "GeckoView:UpdateModuleState": { @@ -865,11 +865,11 @@ function startup() { ModuleManager.afterBrowserRemotenessChange(switchId); } - browser.addEventListener("WillChangeBrowserRemoteness", event => + browser.addEventListener("WillChangeBrowserRemoteness", () => ModuleManager.willChangeBrowserRemoteness() ); - browser.addEventListener("DidChangeBrowserRemoteness", event => + browser.addEventListener("DidChangeBrowserRemoteness", () => ModuleManager.didChangeBrowserRemoteness() ); |