Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Unified Diff: ui/base/l10n/l10n_util_win.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/l10n/l10n_util_mac.mm ('k') | ui/base/l10n/time_format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/l10n/l10n_util_win.cc
diff --git a/ui/base/l10n/l10n_util_win.cc b/ui/base/l10n/l10n_util_win.cc
index ee3ca9532e4e0cfa0c8cc098a77b593a695ab672..01bbacc66e24f2e2185ec3242a3289a9eaa1ec38 100644
--- a/ui/base/l10n/l10n_util_win.cc
+++ b/ui/base/l10n/l10n_util_win.cc
@@ -76,8 +76,8 @@ class OverrideLocaleHolder {
DISALLOW_COPY_AND_ASSIGN(OverrideLocaleHolder);
};
-base::LazyInstance<OverrideLocaleHolder> override_locale_holder =
- LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<OverrideLocaleHolder>::DestructorAtExit
+ override_locale_holder = LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « ui/base/l10n/l10n_util_mac.mm ('k') | ui/base/l10n/time_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698