Bug 1234131 - Remove unused method, deleted the method getNativeWindow(). r=skaspari

This commit is contained in:
kartikey0303 2015-12-26 17:38:37 +05:30
parent 1a681902aa
commit 9207825a7a

View File

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