Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian

This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
This commit is contained in:
Kris Maglione
2018-01-29 15:20:18 -08:00
parent 7fe74fc136
commit 0bb74efdf1
2853 changed files with 8766 additions and 8764 deletions

View File

@@ -1,9 +1,9 @@
"use strict";
Cu.import("resource://gre/modules/ExtensionCommon.jsm");
ChromeUtils.import("resource://gre/modules/ExtensionCommon.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "Services",
"resource://gre/modules/Services.jsm");
ChromeUtils.defineModuleGetter(this, "Services",
"resource://gre/modules/Services.jsm");
// These are defined on "global" which is used for the same scopes as the other
// ext-c-*.js files.