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

Unified Diff: content/browser/debugger/devtools_http_protocol_handler.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/debugger/devtools_http_protocol_handler.cc
diff --git a/content/browser/debugger/devtools_http_protocol_handler.cc b/content/browser/debugger/devtools_http_protocol_handler.cc
index 4d654d264176341899959d7bd0e7ed004e71d548..61b96e2c0e43faee1e497c3ac7f33b842514cff5 100644
--- a/content/browser/debugger/devtools_http_protocol_handler.cc
+++ b/content/browser/debugger/devtools_http_protocol_handler.cc
@@ -136,11 +136,11 @@ class TabContentsIDHelper : public TabContentsObserver {
base::LazyInstance<
TabContentsIDHelper::IdToTabContentsMap,
base::LeakyLazyInstanceTraits<TabContentsIDHelper::IdToTabContentsMap> >
- TabContentsIDHelper::id_to_tabcontents_(base::LINKER_INITIALIZED);
+ TabContentsIDHelper::id_to_tabcontents_ = LAZY_INSTANCE_INITIALIZER;
base::LazyInstance<
TabContentsIDHelper::TabContentsToIdMap,
base::LeakyLazyInstanceTraits<TabContentsIDHelper::TabContentsToIdMap> >
- TabContentsIDHelper::tabcontents_to_id_(base::LINKER_INITIALIZED);
+ TabContentsIDHelper::tabcontents_to_id_ = LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « content/browser/debugger/devtools_client_host.cc ('k') | content/browser/debugger/render_view_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698