Chromium Code Reviews

Unified Diff: remoting/host/local_input_monitor_thread_win.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « remoting/host/local_input_monitor_mac.mm ('k') | remoting/host/plugin/host_log_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/local_input_monitor_thread_win.cc
diff --git a/remoting/host/local_input_monitor_thread_win.cc b/remoting/host/local_input_monitor_thread_win.cc
index 8f9164cc51ba1984f6a3014a4f6d404e66a588f9..490b8914c8d6edc1306d39693bee464f165680a2 100644
--- a/remoting/host/local_input_monitor_thread_win.cc
+++ b/remoting/host/local_input_monitor_thread_win.cc
@@ -15,7 +15,7 @@ namespace {
LocalInputMonitorThread* g_local_input_monitor_thread = NULL;
base::LazyInstance<base::Lock,
base::LeakyLazyInstanceTraits<base::Lock> >
- g_thread_lock(base::LINKER_INITIALIZED);
+ g_thread_lock = LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « remoting/host/local_input_monitor_mac.mm ('k') | remoting/host/plugin/host_log_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine