fx-compat: XPCOMUtils.generateQI() → ChromeUtils.generateQI()

This commit is contained in:
Dan Stillman 2020-06-30 02:08:08 -04:00
parent 4d35cdf095
commit ccbc785499
8 changed files with 12 additions and 17 deletions

View file

@ -52,8 +52,7 @@ ZoteroUnit.prototype = {
classID: Components.ID("{b8570031-be5e-46e8-9785-38cd50a5d911}"),
service: true,
_xpcom_categories: [{category:"command-line-handler", entry:"m-zotero-unit"}],
QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsICommandLineHandler,
Components.interfaces.nsISupports])
QueryInterface: ChromeUtils.generateQI([Components.interfaces.nsICommandLineHandler])
};