mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1234131 - Remove unused method, deleted the method getNativeWindow(). r=skaspari
This commit is contained in:
parent
1a681902aa
commit
9207825a7a
@ -37,17 +37,6 @@ HelperAppLauncherDialog.prototype = {
|
||||
classID: Components.ID("{e9d277a0-268a-4ec2-bb8c-10fdf3e44611}"),
|
||||
QueryInterface: XPCOMUtils.generateQI([Ci.nsIHelperAppLauncherDialog]),
|
||||
|
||||
getNativeWindow: function () {
|
||||
try {
|
||||
let win = Services.wm.getMostRecentWindow("navigator:browser");
|
||||
if (win && win.NativeWindow) {
|
||||
return win.NativeWindow;
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns false if `url` represents a local or special URL that we don't
|
||||
* wish to ever download.
|
||||
|
Loading…
Reference in New Issue
Block a user