summaryrefslogtreecommitdiffstats
path: root/content/renderer/input/input_handler_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/input/input_handler_manager.h')
-rw-r--r--content/renderer/input/input_handler_manager.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/content/renderer/input/input_handler_manager.h b/content/renderer/input/input_handler_manager.h
index a44dc2d..bfb62d1 100644
--- a/content/renderer/input/input_handler_manager.h
+++ b/content/renderer/input/input_handler_manager.h
@@ -12,7 +12,7 @@
#include "content/renderer/render_view_impl.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace cc {
@@ -39,12 +39,12 @@ struct DidOverscrollParams;
// the WebViews in this renderer.
class InputHandlerManager {
public:
- // |message_loop_proxy| is the MessageLoopProxy of the compositor thread. The
+ // |task_runner| is the SingleThreadTaskRunner of the compositor thread. The
// underlying MessageLoop and supplied |client| and the |renderer_scheduler|
// must outlive this object. The RendererScheduler needs to know when input
// events and fling animations occur, which is why it's passed in here.
InputHandlerManager(
- const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy,
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
InputHandlerManagerClient* client,
scheduler::RendererScheduler* renderer_scheduler);
~InputHandlerManager();
@@ -84,7 +84,7 @@ class InputHandlerManager {
// Called from the compositor's thread.
void AddInputHandlerOnCompositorThread(
int routing_id,
- const scoped_refptr<base::MessageLoopProxy>& main_loop,
+ const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner,
const base::WeakPtr<cc::InputHandler>& input_handler,
const base::WeakPtr<RenderViewImpl>& render_view_impl);
@@ -98,7 +98,7 @@ class InputHandlerManager {
InputHandlerMap;
InputHandlerMap input_handlers_;
- scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
InputHandlerManagerClient* client_;
scheduler::RendererScheduler* renderer_scheduler_; // Not owned.
};