Index: remoting/protocol/host_event_dispatcher.cc |
diff --git a/remoting/protocol/host_event_dispatcher.cc b/remoting/protocol/host_event_dispatcher.cc |
index f3fa8d9d7b041d80c3b7710638ae0356429d4b20..36fccc76db525dd71238b0713bce655ae0804fe4 100644 |
--- a/remoting/protocol/host_event_dispatcher.cc |
+++ b/remoting/protocol/host_event_dispatcher.cc |
@@ -4,7 +4,6 @@ |
#include "remoting/protocol/host_event_dispatcher.h" |
-#include "base/callback_helpers.h" |
#include "net/socket/stream_socket.h" |
#include "remoting/base/constants.h" |
#include "remoting/proto/event.pb.h" |
@@ -23,12 +22,9 @@ HostEventDispatcher::HostEventDispatcher() |
HostEventDispatcher::~HostEventDispatcher() {} |
-void HostEventDispatcher::OnMessageReceived(scoped_ptr<EventMessage> message, |
- const base::Closure& done_task) { |
+void HostEventDispatcher::OnMessageReceived(scoped_ptr<EventMessage> message) { |
DCHECK(input_stub_); |
- base::ScopedClosureRunner done_runner(done_task); |
- |
if (!on_input_event_callback_.is_null()) |
on_input_event_callback_.Run(message->timestamp()); |