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

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: 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: 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

Powered by Google App Engine
This is Rietveld 408576698