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

Unified Diff: chrome/common/extensions/extension_message_bundle.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 | « chrome/browser/ui/webui/web_ui_browsertest.cc ('k') | chrome/common/profiling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_message_bundle.cc
diff --git a/chrome/common/extensions/extension_message_bundle.cc b/chrome/common/extensions/extension_message_bundle.cc
index ea45721bc7f5a56c45542de71545898a875e4c44..6b6f5b2197323f948101842b3d113c4522c04790 100644
--- a/chrome/common/extensions/extension_message_bundle.cc
+++ b/chrome/common/extensions/extension_message_bundle.cc
@@ -325,8 +325,8 @@ struct ExtensionToMessagesMap {
ExtensionToL10nMessagesMap messages_map;
};
-static base::LazyInstance<ExtensionToMessagesMap> g_extension_to_messages_map(
- base::LINKER_INITIALIZED);
+static base::LazyInstance<ExtensionToMessagesMap> g_extension_to_messages_map =
+ LAZY_INSTANCE_INITIALIZER;
ExtensionToMessagesMap::ExtensionToMessagesMap() {}
« no previous file with comments | « chrome/browser/ui/webui/web_ui_browsertest.cc ('k') | chrome/common/profiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698