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

Unified Diff: content/renderer/devtools_agent.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 | « content/public/utility/utility_thread.cc ('k') | content/renderer/gpu/renderer_gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/devtools_agent.cc
diff --git a/content/renderer/devtools_agent.cc b/content/renderer/devtools_agent.cc
index cedb9d2070d44d1e19fa4c41f5e2f2601530604e..01041e7b1d60fc69fbed9ad2b4358cdd30b340fb 100644
--- a/content/renderer/devtools_agent.cc
+++ b/content/renderer/devtools_agent.cc
@@ -54,7 +54,7 @@ class WebKitClientMessageLoopImpl
typedef std::map<int, DevToolsAgent*> IdToAgentMap;
base::LazyInstance<IdToAgentMap, base::LeakyLazyInstanceTraits<IdToAgentMap> >
- g_agent_for_routing_id(base::LINKER_INITIALIZED);
+ g_agent_for_routing_id = LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « content/public/utility/utility_thread.cc ('k') | content/renderer/gpu/renderer_gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698