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 c6d948457f3724f3cc2c9f44fca29c06707ab54a..6b8f0e023fe88dc0e057e4d1657d60310f66a901 100644 |
--- a/remoting/host/local_input_monitor_mac.mm |
+++ b/remoting/host/local_input_monitor_mac.mm |
@@ -7,6 +7,7 @@ |
#import <AppKit/AppKit.h> |
#include <set> |
+#include "base/bind.h" |
#include "base/compiler_specific.h" |
#include "base/lazy_instance.h" |
#include "base/logging.h" |
@@ -99,7 +100,7 @@ static CGEventRef LocalMouseMoved(CGEventTapProxy proxy, CGEventType type, |
- (void)hotKeyHit:(GTMCarbonHotKey*)hotKey { |
base::AutoLock lock(hostsLock_); |
for (Hosts::const_iterator i = hosts_.begin(); i != hosts_.end(); ++i) { |
- (*i)->Shutdown(NULL); |
+ (*i)->Shutdown(base::Closure()); |
} |
} |