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

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

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix CrOS Created 9 years, 1 month 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
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 65f5d3e2aa8704597bac035fe8dffdf5670ffe81..a5d149c5ab0358642a4df60bf37f80d4153fcdf1 100644
--- a/ui/base/l10n/l10n_util_win.cc
+++ b/ui/base/l10n/l10n_util_win.cc
@@ -67,8 +67,8 @@ class OverrideLocaleHolder {
DISALLOW_COPY_AND_ASSIGN(OverrideLocaleHolder);
};
-base::LazyInstance<OverrideLocaleHolder>
- override_locale_holder(base::LINKER_INITIALIZED);
+base::LazyInstance<OverrideLocaleHolder> override_locale_holder =
+ LINKER_ZERO_INITIALIZED;
} // namespace

Powered by Google App Engine
This is Rietveld 408576698