mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 807316 - Import PrivateBrowsingUtils.jsm lazily on Android; r=bnicholson
This commit is contained in:
parent
5d755edd99
commit
084e31b05f
@ -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"],
|
||||
|
Loading…
Reference in New Issue
Block a user