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

Unified Diff: chrome/common/profiling.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/common/profiling.cc
diff --git a/chrome/common/profiling.cc b/chrome/common/profiling.cc
index 1a56086a2f5436589526bc0155c3cdabe89ba4bb..9422a90243efe2a3ff388e746c87decb4a20ab18 100644
--- a/chrome/common/profiling.cc
+++ b/chrome/common/profiling.cc
@@ -91,7 +91,7 @@ class ProfilingThreadControl {
base::LazyInstance<ProfilingThreadControl,
base::LeakyLazyInstanceTraits<ProfilingThreadControl> >
- g_flush_thread_control(base::LINKER_INITIALIZED);
+ g_flush_thread_control = LAZY_INSTANCE_INITIALIZER;
} // namespace

Powered by Google App Engine
This is Rietveld 408576698