Bug 1629275 - Port bug 1621674 part 2: Update callsites to use Localization WebIDL. r=mkmelin DONTBUILD
authorRichard Marti <richard.marti@gmail.com>
Sun, 12 Apr 2020 13:57:38 +0300
changeset 38795 811d59aed80df519cc061a177e48810a29dc2c7b
parent 38794 b8ffda5a11e3daa7042ff21083e8631f24b0fc5c
child 38796 b918ea799c2e29c78fa3449c32dd0bde6fb643ed
push id401
push userclokep@gmail.com
push dateMon, 01 Jun 2020 20:41:59 +0000
reviewersmkmelin
bugs1629275, 1621674
Bug 1629275 - Port bug 1621674 part 2: Update callsites to use Localization WebIDL. r=mkmelin DONTBUILD Port of https://hg.mozilla.org/mozilla-central/rev/df386249c4f9
mail/components/preferences/general.js
--- a/mail/components/preferences/general.js
+++ b/mail/components/preferences/general.js
@@ -971,17 +971,18 @@ var gGeneralPane = {
         Services.locale.lastFallbackLocale,
       ])
     );
     function generateBundles(resourceIds) {
       return L10nRegistry.generateBundles(locales, resourceIds);
     }
     return new Localization(
       ["messenger/preferences/preferences.ftl", "branding/brand.ftl"],
-      generateBundles
+      false,
+      { generateBundles }
     );
   },
 
   initMessengerLocale() {
     gGeneralPane.setMessengerLocales(Services.locale.requestedLocale);
   },
 
   /**