| Index: content/renderer/input/input_event_filter.h
|
| diff --git a/content/renderer/input/input_event_filter.h b/content/renderer/input/input_event_filter.h
|
| index a80b9f8c625b24307b5f2f6fea9533d8472beabd..0e39592a47c2efa180dbd2c3d094a13419f26b65 100644
|
| --- a/content/renderer/input/input_event_filter.h
|
| +++ b/content/renderer/input/input_event_filter.h
|
| @@ -18,6 +18,7 @@
|
|
|
| namespace base {
|
| class MessageLoopProxy;
|
| +class SingleThreadTaskRunner;
|
| }
|
|
|
| namespace IPC {
|
| @@ -38,8 +39,10 @@
|
| class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
|
| public IPC::MessageFilter {
|
| public:
|
| - InputEventFilter(IPC::Listener* main_listener,
|
| - const scoped_refptr<base::MessageLoopProxy>& target_loop);
|
| + InputEventFilter(
|
| + IPC::Listener* main_listener,
|
| + const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner,
|
| + const scoped_refptr<base::MessageLoopProxy>& target_loop);
|
|
|
| // The |handler| is invoked on the thread associated with |target_loop| to
|
| // handle input events matching the filtered routes.
|
| @@ -73,7 +76,7 @@
|
| void SendMessage(scoped_ptr<IPC::Message> message);
|
| void SendMessageOnIOThread(scoped_ptr<IPC::Message> message);
|
|
|
| - scoped_refptr<base::MessageLoopProxy> main_loop_;
|
| + scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
|
| IPC::Listener* main_listener_;
|
|
|
| // The sender_ only gets invoked on the thread corresponding to io_loop_.
|
|
|