Index: remoting/host/event_executor_linux.cc |
diff --git a/remoting/host/event_executor_linux.cc b/remoting/host/event_executor_linux.cc |
index 2b632c9522e038fe350f60bf71d40bfcea6782c7..e01aede0c63792f47d0375b674819f49b897d41c 100644 |
--- a/remoting/host/event_executor_linux.cc |
+++ b/remoting/host/event_executor_linux.cc |
@@ -14,7 +14,6 @@ |
#include "base/logging.h" |
#include "base/message_loop.h" |
#include "base/task.h" |
-#include "media/base/callback.h" |
#include "remoting/proto/internal.pb.h" |
namespace remoting { |
@@ -278,13 +277,13 @@ bool EventExecutorLinux::Init() { |
} |
void EventExecutorLinux::InjectKeyEvent(const KeyEvent* event, Task* done) { |
- media::AutoTaskRunner done_runner(done); |
+ base::ScopedTaskRunner done_runner(done); |
if (MessageLoop::current() != message_loop_) { |
message_loop_->PostTask( |
FROM_HERE, |
NewRunnableMethod(this, &EventExecutorLinux::InjectKeyEvent, |
- event, done_runner.release())); |
+ event, done_runner.Release())); |
return; |
} |
@@ -313,13 +312,13 @@ void EventExecutorLinux::InjectKeyEvent(const KeyEvent* event, Task* done) { |
void EventExecutorLinux::InjectMouseEvent(const MouseEvent* event, |
Task* done) { |
- media::AutoTaskRunner done_runner(done); |
+ base::ScopedTaskRunner done_runner(done); |
if (MessageLoop::current() != message_loop_) { |
message_loop_->PostTask( |
FROM_HERE, |
NewRunnableMethod(this, &EventExecutorLinux::InjectMouseEvent, |
- event, done_runner.release())); |
+ event, done_runner.Release())); |
return; |
} |