| Index: remoting/host/event_executor_mac.cc
|
| ===================================================================
|
| --- remoting/host/event_executor_mac.cc (revision 86971)
|
| +++ remoting/host/event_executor_mac.cc (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "base/mac/scoped_cftyperef.h"
|
| #include "base/message_loop.h"
|
| #include "base/task.h"
|
| +#include "media/base/callback.h"
|
| #include "remoting/host/capturer.h"
|
| #include "remoting/proto/internal.pb.h"
|
| #include "remoting/protocol/message_decoder.h"
|
| @@ -214,7 +215,7 @@
|
| };
|
|
|
| void EventExecutorMac::InjectKeyEvent(const KeyEvent* event, Task* done) {
|
| - base::ScopedTaskRunner done_runner(done);
|
| + media::AutoTaskRunner done_runner(done);
|
|
|
| int key_code = event->keycode();
|
| if (key_code >= 0 && key_code < 256) {
|
| @@ -250,7 +251,7 @@
|
| }
|
|
|
| void EventExecutorMac::InjectMouseEvent(const MouseEvent* event, Task* done) {
|
| - base::ScopedTaskRunner done_runner(done);
|
| + media::AutoTaskRunner done_runner(done);
|
|
|
| if (event->has_x() && event->has_y()) {
|
| // TODO(wez): Checking the validity of the MouseEvent should be done in core
|
|
|