зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
b6eaddfb9f
Коммит
c9e459715b
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче