Bug 1484867 - Replace remaining use of XPCOMUtils.generateQI() in ldap, editor, mailnews. rs=bustage-fix DONTBUILD
This commit is contained in:
Родитель
21ffdff7b6
Коммит
f7d6ba29ae
|
@ -16,7 +16,7 @@ nsComposerCmdLineHandler.prototype = {
|
|||
},
|
||||
|
||||
/* nsISupports */
|
||||
QueryInterface: XPCOMUtils.generateQI([nsICommandLineHandler]),
|
||||
QueryInterface: ChromeUtils.generateQI([nsICommandLineHandler]),
|
||||
|
||||
/* nsICommandLineHandler */
|
||||
handle : function handle(cmdLine) {
|
||||
|
|
|
@ -10,7 +10,7 @@ const nsIProtocolHandler = Ci.nsIProtocolHandler;
|
|||
function makeProtocolHandler(aCID, aProtocol, aDefaultPort) {
|
||||
return {
|
||||
classID: Components.ID(aCID),
|
||||
QueryInterface: XPCOMUtils.generateQI([nsIProtocolHandler]),
|
||||
QueryInterface: ChromeUtils.generateQI([nsIProtocolHandler]),
|
||||
|
||||
scheme: aProtocol,
|
||||
defaultPort: aDefaultPort,
|
||||
|
|
|
@ -207,8 +207,7 @@ nsAbLDAPAttributeMap.prototype = {
|
|||
return;
|
||||
},
|
||||
|
||||
QueryInterface: XPCOMUtils
|
||||
.generateQI([Ci.nsIAbLDAPAttributeMap])
|
||||
QueryInterface: ChromeUtils.generateQI([Ci.nsIAbLDAPAttributeMap])
|
||||
}
|
||||
|
||||
function nsAbLDAPAttributeMapService() {
|
||||
|
@ -239,8 +238,7 @@ nsAbLDAPAttributeMapService.prototype = {
|
|||
return attrMap;
|
||||
},
|
||||
|
||||
QueryInterface: XPCOMUtils
|
||||
.generateQI([Ci.nsIAbLDAPAttributeMapService])
|
||||
QueryInterface: ChromeUtils.generateQI([Ci.nsIAbLDAPAttributeMapService])
|
||||
}
|
||||
|
||||
var NSGetFactory = XPCOMUtils.generateNSGetFactory([nsAbLDAPAttributeMap, nsAbLDAPAttributeMapService]);
|
||||
|
|
Загрузка…
Ссылка в новой задаче