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

Unified Diff: remoting/host/local_input_monitor_mac.mm

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 | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/host/local_input_monitor_thread_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/local_input_monitor_mac.mm
diff --git a/remoting/host/local_input_monitor_mac.mm b/remoting/host/local_input_monitor_mac.mm
index 6b8f0e023fe88dc0e057e4d1657d60310f66a901..356d098252afc9ca3c7bdfe76d853340db818344 100644
--- a/remoting/host/local_input_monitor_mac.mm
+++ b/remoting/host/local_input_monitor_mac.mm
@@ -155,7 +155,7 @@ class LocalInputMonitorMac : public remoting::LocalInputMonitor {
base::LazyInstance<base::Lock,
base::LeakyLazyInstanceTraits<base::Lock> >
- monitor_lock(base::LINKER_INITIALIZED);
+ monitor_lock = LAZY_INSTANCE_INITIALIZER;
LocalInputMonitorImpl* local_input_monitor = NULL;
} // namespace
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/host/local_input_monitor_thread_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698