Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1125)

Unified Diff: content/renderer/input/input_handler_manager.cc

Issue 692483002: Hook up DidReceiveInputEvent to the blink scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resonding to Sami's feedback Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/input/input_handler_manager.cc
diff --git a/content/renderer/input/input_handler_manager.cc b/content/renderer/input/input_handler_manager.cc
index 54d6e12f47d30f6ce1d083e63c00950f0d0f3aae..ffcbb6b91107a8aff41252b3c194327eb35756f0 100644
--- a/content/renderer/input/input_handler_manager.cc
+++ b/content/renderer/input/input_handler_manager.cc
@@ -52,13 +52,13 @@ void InputHandlerManager::AddInputHandler(
int routing_id,
const base::WeakPtr<cc::InputHandler>& input_handler,
const base::WeakPtr<RenderViewImpl>& render_view_impl,
- RendererScheduler* render_scheduler) {
+ RendererScheduler* renderer_scheduler) {
if (message_loop_proxy_->BelongsToCurrentThread()) {
AddInputHandlerOnCompositorThread(routing_id,
base::MessageLoopProxy::current(),
input_handler,
render_view_impl,
- render_scheduler);
+ renderer_scheduler);
} else {
message_loop_proxy_->PostTask(
FROM_HERE,
@@ -68,7 +68,7 @@ void InputHandlerManager::AddInputHandler(
base::MessageLoopProxy::current(),
input_handler,
render_view_impl,
- render_scheduler));
+ renderer_scheduler));
}
}
@@ -77,7 +77,7 @@ void InputHandlerManager::AddInputHandlerOnCompositorThread(
const scoped_refptr<base::MessageLoopProxy>& main_loop,
const base::WeakPtr<cc::InputHandler>& input_handler,
const base::WeakPtr<RenderViewImpl>& render_view_impl,
- RendererScheduler* render_scheduler) {
+ RendererScheduler* renderer_scheduler) {
DCHECK(message_loop_proxy_->BelongsToCurrentThread());
// The handler could be gone by this point if the compositor has shut down.
@@ -99,7 +99,7 @@ void InputHandlerManager::AddInputHandlerOnCompositorThread(
main_loop,
input_handler,
render_view_impl,
- render_scheduler)));
+ renderer_scheduler)));
}
void InputHandlerManager::RemoveInputHandler(int routing_id) {

Powered by Google App Engine
This is Rietveld 408576698