diff --git a/toolkit/actors/DateTimePickerChild.jsm b/toolkit/actors/DateTimePickerChild.jsm index 25bbae801060..e35a7a3280bf 100644 --- a/toolkit/actors/DateTimePickerChild.jsm +++ b/toolkit/actors/DateTimePickerChild.jsm @@ -20,8 +20,8 @@ class DateTimePickerChild extends JSWindowActorChild { * On init, just listen for the event to open the picker, once the picker is * opened, we'll listen for update and close events. */ - constructor(dispatcher) { - super(dispatcher); + constructor() { + super(); this._inputElement = null; } diff --git a/toolkit/actors/PictureInPictureChild.jsm b/toolkit/actors/PictureInPictureChild.jsm index b686ce93ce4a..c0aed42c8ad6 100644 --- a/toolkit/actors/PictureInPictureChild.jsm +++ b/toolkit/actors/PictureInPictureChild.jsm @@ -63,8 +63,8 @@ XPCOMUtils.defineLazyGetter(this, "gToggleOverrides", () => { * hovering. */ class PictureInPictureToggleChild extends JSWindowActorChild { - constructor(dispatcher) { - super(dispatcher); + constructor() { + super(); // We need to maintain some state about various things related to the // Picture-in-Picture toggles - however, for now, the same // PictureInPictureToggleChild might be re-used for different documents. diff --git a/toolkit/actors/UAWidgetsChild.jsm b/toolkit/actors/UAWidgetsChild.jsm index 10f0e621a087..8fca26fbb356 100644 --- a/toolkit/actors/UAWidgetsChild.jsm +++ b/toolkit/actors/UAWidgetsChild.jsm @@ -9,8 +9,8 @@ var EXPORTED_SYMBOLS = ["UAWidgetsChild"]; const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm"); class UAWidgetsChild extends JSWindowActorChild { - constructor(dispatcher) { - super(dispatcher); + constructor() { + super(); this.widgets = new WeakMap(); this.prefsCache = new Map();