Bug 1219837 - Part 2: Remove use of expression closure from browser/. r=ttaubert

--HG--
extra : commitid : I3YNU2vV2le
extra : rebase_source : e3b02ee43f956ea80e0f298c4507052811176601
extra : amend_source : 31230481a90a30ffc7f991ec2ec2454860e85ecb
This commit is contained in:
Tooru Fujisawa 2015-10-30 02:48:18 +09:00
parent f53ed453a6
commit da0d85ff8c

View File

@ -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) {