Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame

Depends on D5924

Differential Revision: https://phabricator.services.mozilla.com/D6339
This commit is contained in:
Zibi Braniecki
2018-09-21 15:30:37 +00:00
parent 249a51b7d8
commit a968635d1d
76 changed files with 167 additions and 168 deletions

View File

@@ -865,7 +865,7 @@ XPCOMUtils.defineConstant(this, "PanelUI", PanelUI);
* @return the selected locale
*/
function getLocale() {
return Services.locale.getAppLocaleAsLangTag();
return Services.locale.appLocaleAsLangTag;
}
function getNotificationFromElement(aElement) {