Bug 1619630 - remove useless 'dispatcher' argument to various JSWindowActorChild constructors, r=NeilDeakin

Differential Revision: https://phabricator.services.mozilla.com/D65126

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Gijs Kruitbosch 2020-03-03 18:40:25 +00:00
Родитель b6eaddfb9f
Коммит c9e459715b
3 изменённых файлов: 6 добавлений и 6 удалений

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

@ -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;
}

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

@ -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.

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

@ -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();