Index: remoting/host/event_executor_win.cc |
=================================================================== |
--- remoting/host/event_executor_win.cc (revision 86971) |
+++ remoting/host/event_executor_win.cc (working copy) |
@@ -46,13 +46,13 @@ |
} |
void EventExecutorWin::InjectKeyEvent(const KeyEvent* event, Task* done) { |
- base::ScopedTaskRunner done_runner(done); |
+ media::AutoTaskRunner done_runner(done); |
if (MessageLoop::current() != message_loop_) { |
message_loop_->PostTask( |
FROM_HERE, |
NewRunnableMethod(this, &EventExecutorWin::InjectKeyEvent, |
- event, done_runner.Release())); |
+ event, done_runner.release())); |
return; |
} |
@@ -60,13 +60,13 @@ |
} |
void EventExecutorWin::InjectMouseEvent(const MouseEvent* event, Task* done) { |
- base::ScopedTaskRunner done_runner(done); |
+ media::AutoTaskRunner done_runner(done); |
if (MessageLoop::current() != message_loop_) { |
message_loop_->PostTask( |
FROM_HERE, |
NewRunnableMethod(this, &EventExecutorWin::InjectMouseEvent, |
- event, done_runner.Release())); |
+ event, done_runner.release())); |
return; |
} |