зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1354328 - Lazily load the inline spell checker. r=Felipe
It isn't needed until we create a context menu. MozReview-Commit-ID: 4kCfq9PzVPV --HG-- extra : rebase_source : 51907d6aa28d5bd2a9fb8a0acb28cac719888292
This commit is contained in:
Родитель
78ab774d55
Коммит
757620ca9d
|
@ -12,8 +12,6 @@ var {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;
|
|||
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/InlineSpellChecker.jsm");
|
||||
Cu.import("resource://gre/modules/InlineSpellCheckerContent.jsm");
|
||||
Cu.import("resource://gre/modules/Task.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "E10SUtils",
|
||||
|
@ -24,6 +22,10 @@ XPCOMUtils.defineLazyModuleGetter(this, "ContentLinkHandler",
|
|||
"resource:///modules/ContentLinkHandler.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "ContentWebRTC",
|
||||
"resource:///modules/ContentWebRTC.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "SpellCheckHelper",
|
||||
"resource://gre/modules/InlineSpellChecker.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "InlineSpellCheckerContent",
|
||||
"resource://gre/modules/InlineSpellCheckerContent.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "LoginManagerContent",
|
||||
"resource://gre/modules/LoginManagerContent.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "LoginFormFactory",
|
||||
|
|
Загрузка…
Ссылка в новой задаче