diff --git a/appIconsDecorator.js b/appIconsDecorator.js index 3746ded57b..89afa3ef5c 100644 --- a/appIconsDecorator.js +++ b/appIconsDecorator.js @@ -27,7 +27,8 @@ export class AppIconsDecorator { constructor() { this._signals = new Utils.GlobalSignalsHandler(); this._methodInjections = new Utils.InjectionsHandler(); - this._propertyInjections = new Utils.PropertyInjectionsHandler({allowNewProperty: true}); + this._propertyInjections = new Utils.PropertyInjectionsHandler( + null, {allowNewProperty: true}); this._indicators = new Set(); this._patchAppIcons(); diff --git a/utils.js b/utils.js index 900af5cdbf..67b4d58e7b 100644 --- a/utils.js +++ b/utils.js @@ -412,8 +412,8 @@ export class VFuncInjectionsHandler extends BasicHandler { * and restored */ export class PropertyInjectionsHandler extends BasicHandler { - constructor(params) { - super(); + constructor(parentObject, params) { + super(parentObject); this._params = params; }