diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index 3733152d236..aec5a94c096 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -14,7 +14,6 @@ Cu.import("resource://gre/modules/Services.jsm"); Cu.import("resource://gre/modules/AddonManager.jsm"); Cu.import("resource://gre/modules/FileUtils.jsm"); Cu.import("resource://gre/modules/JNI.jsm"); -Cu.import("resource://gre/modules/PrivateBrowsingUtils.jsm"); #ifdef ACCESSIBILITY Cu.import("resource://gre/modules/accessibility/AccessFu.jsm"); @@ -43,6 +42,11 @@ XPCOMUtils.defineLazyGetter(this, "SafeBrowsing", function() { }); #endif +XPCOMUtils.defineLazyGetter(this, "PrivateBrowsingUtils", function() { + Cu.import("resource://gre/modules/PrivateBrowsingUtils.jsm"); + return PrivateBrowsingUtils; +}); + // Lazily-loaded browser scripts: [ ["HelperApps", "chrome://browser/content/HelperApps.js"],