Bug 1456219 - Follow-up: Import XPCOMUtils.jsm in addressbook.js. r=aceman a=jorgk DONTBUILD
authorRichard Marti <richard.marti@gmail.com>
Fri, 27 Apr 2018 00:51:25 +0200
changeset 31422 809d703185fad41ba2d60afe298e0e79411fb55d
parent 31421 91321b89cce66076ffda7a04d447aae6672965b9
child 31423 f7ed0c6738dcff833453ab25e1b848fe595a2820
child 31425 37a9e7a7f097d4a2e3bb3c59eda483cf1790e829
push id383
push userclokep@gmail.com
push dateMon, 07 May 2018 21:52:48 +0000
reviewersaceman, jorgk
bugs1456219
Bug 1456219 - Follow-up: Import XPCOMUtils.jsm in addressbook.js. r=aceman a=jorgk DONTBUILD
mail/components/addrbook/content/addressbook.js
--- a/mail/components/addrbook/content/addressbook.js
+++ b/mail/components/addrbook/content/addressbook.js
@@ -6,16 +6,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 // Ensure the activity modules are loaded for this window.
 ChromeUtils.import("resource:///modules/activity/activityModules.js");
 ChromeUtils.import("resource:///modules/ABQueryUtils.jsm");
 ChromeUtils.import("resource:///modules/mailServices.js");
 ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
 ChromeUtils.import("resource://gre/modules/Services.jsm");
+ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 
 XPCOMUtils.defineLazyModuleGetters(this, {
   LightweightThemeManager: "resource://gre/modules/LightweightThemeManager.jsm",
 });
 
 var nsIAbListener = Ci.nsIAbListener;
 var kPrefMailAddrBookLastNameFirst = "mail.addr_book.lastnamefirst";
 var kPersistCollapseMapStorage = "directoryTree.json";