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

Unified Diff: chrome/browser/resources_util.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thakis comment, renamed LAZY_INSTANCE_INITIALIZER 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: chrome/browser/resources_util.cc
diff --git a/chrome/browser/resources_util.cc b/chrome/browser/resources_util.cc
index a11181ea3db63ce55e00e795f12c778bed1bd74a..a406b4d2b1486d80ef60d6c03a3fa87546f0b171 100644
--- a/chrome/browser/resources_util.cc
+++ b/chrome/browser/resources_util.cc
@@ -41,7 +41,7 @@ class ThemeMap {
StringIntMap id_map_;
};
-static base::LazyInstance<ThemeMap> g_theme_ids(base::LINKER_INITIALIZED);
+static base::LazyInstance<ThemeMap> g_theme_ids = LAZY_INSTANCE_INITIALIZER;
} // namespace

Powered by Google App Engine
This is Rietveld 408576698