diff --git a/browser/components/newtab/RemoteDirectoryLinksProvider.jsm b/browser/components/newtab/RemoteDirectoryLinksProvider.jsm index 30bb29aac62a..8f4155e7b339 100644 --- a/browser/components/newtab/RemoteDirectoryLinksProvider.jsm +++ b/browser/components/newtab/RemoteDirectoryLinksProvider.jsm @@ -159,12 +159,14 @@ let RemoteDirectoryLinksProvider = { */ _newTabHasInadjacentSite: false, - get _observedPrefs() Object.freeze({ - enhanced: PREF_NEWTAB_ENHANCED, - linksURL: PREF_DIRECTORY_SOURCE, - matchOSLocale: PREF_MATCH_OS_LOCALE, - prefSelectedLocale: PREF_SELECTED_LOCALE, - }), + get _observedPrefs() { + return Object.freeze({ + enhanced: PREF_NEWTAB_ENHANCED, + linksURL: PREF_DIRECTORY_SOURCE, + matchOSLocale: PREF_MATCH_OS_LOCALE, + prefSelectedLocale: PREF_SELECTED_LOCALE, + }); + }, get _linksURL() { if (!this.__linksURL) {