PopupMenuManager: Remove unneeded _owner reference

Nothing inside PopupMenuManager is using the owner, while a reference of it is
already owned by the GrabHelper, so remove this dead property.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/565
This commit is contained in:
Marco Trevisan (Treviño) 2019-05-29 14:40:11 -05:00
parent 866629b3d3
commit 8c01d341c7

View File

@ -1215,7 +1215,6 @@ var PopupMenuManager = class {
constructor(owner, grabParams) {
grabParams = Params.parse(grabParams,
{ actionMode: Shell.ActionMode.POPUP });
this._owner = owner;
this._grabHelper = new GrabHelper.GrabHelper(owner, grabParams);
this._menus = [];
}