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

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: willchan comments + rebase 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
« no previous file with comments | « ui/base/l10n/l10n_util_mac.mm ('k') | ui/gfx/gl/gl_context.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 65f5d3e2aa8704597bac035fe8dffdf5670ffe81..90247eaff32f331a4d381791c641f79364181e3d 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 =
+ LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « ui/base/l10n/l10n_util_mac.mm ('k') | ui/gfx/gl/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698