Bug 1234131 - Remove unused method, deleted the method getNativeWindow(). r=skaspari
--- a/mobile/android/components/HelperAppDialog.js
+++ b/mobile/android/components/HelperAppDialog.js
@@ -32,27 +32,16 @@ XPCOMUtils.defineLazyGetter(this, "Conte
});
function HelperAppLauncherDialog() { }
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.
*
* Returns true otherwise.
*/
_canDownload: function (url, alreadyResolved=false) {
// The common case.