summaryrefslogtreecommitdiffstats
path: root/mobile/android/modules/geckoview/GeckoViewModule.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/modules/geckoview/GeckoViewModule.sys.mjs')
-rw-r--r--mobile/android/modules/geckoview/GeckoViewModule.sys.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile/android/modules/geckoview/GeckoViewModule.sys.mjs b/mobile/android/modules/geckoview/GeckoViewModule.sys.mjs
index 87ad35d817..b05244612a 100644
--- a/mobile/android/modules/geckoview/GeckoViewModule.sys.mjs
+++ b/mobile/android/modules/geckoview/GeckoViewModule.sys.mjs
@@ -132,7 +132,7 @@ class EventProxy {
}
}
- onEvent(aEvent, aData, aCallback) {
+ onEvent(aEvent, aData) {
if (this._enableQueuing) {
debug`queue ${aEvent}, data=${aData}`;
this._eventQueue.unshift(arguments);
@@ -146,7 +146,7 @@ class EventProxy {
this._enableQueuing = aEnable;
}
- _dispatch(aEvent, aData, aCallback) {
+ _dispatch(aEvent, aData) {
debug`dispatch ${aEvent}, data=${aData}`;
if (this.listener.onEvent) {
this.listener.onEvent(...arguments);