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

Unified Diff: content/browser/renderer_host/render_process_host.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
Index: content/browser/renderer_host/render_process_host.cc
diff --git a/content/browser/renderer_host/render_process_host.cc b/content/browser/renderer_host/render_process_host.cc
index 73b411e85c7422081562b497670364413220ebe8..c40596151208e4277b53ff8a345ef2e03799bcaa 100644
--- a/content/browser/renderer_host/render_process_host.cc
+++ b/content/browser/renderer_host/render_process_host.cc
@@ -85,7 +85,7 @@ static bool IsSuitableHost(RenderProcessHost* host,
// the global list of all renderer processes
base::LazyInstance<IDMap<RenderProcessHost>,
base::LeakyLazyInstanceTraits<IDMap<RenderProcessHost> > >
- g_all_hosts(base::LINKER_INITIALIZED);
+ g_all_hosts = LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « content/browser/renderer_host/java/java_bridge_channel_host.cc ('k') | content/browser/speech/speech_input_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698