Index: content/renderer/input/input_handler_wrapper.cc |
diff --git a/content/renderer/input/input_handler_wrapper.cc b/content/renderer/input/input_handler_wrapper.cc |
index 49b8af9e0fa6511c80c9ba9e4c6d6fde18b2dba3..00387d11f1c2f7dc9b0d9ac54fc30d2fa946432e 100644 |
--- a/content/renderer/input/input_handler_wrapper.cc |
+++ b/content/renderer/input/input_handler_wrapper.cc |
@@ -18,13 +18,13 @@ InputHandlerWrapper::InputHandlerWrapper( |
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) |
: input_handler_manager_(input_handler_manager), |
routing_id_(routing_id), |
input_handler_proxy_(input_handler.get(), this), |
main_loop_(main_loop), |
render_view_impl_(render_view_impl), |
- render_scheduler_(render_scheduler) { |
+ renderer_scheduler_(renderer_scheduler) { |
DCHECK(input_handler); |
} |
@@ -61,8 +61,14 @@ void InputHandlerWrapper::DidStopFlinging() { |
} |
void InputHandlerWrapper::DidReceiveInputEvent() { |
- if (render_scheduler_) { |
- render_scheduler_->DidReceiveInputEvent(); |
+ if (renderer_scheduler_) { |
+ renderer_scheduler_->DidReceiveInputEvent(); |
jdduke (slow)
2014/11/04 01:21:02
Nit: No braces necessary (also below).
alex clarke (OOO till 29th)
2014/11/04 01:49:06
I slightly prefer this style, because I've seen bu
|
+ } |
+} |
+ |
+void InputHandlerWrapper::DidAnimate() { |
+ if (renderer_scheduler_) { |
+ renderer_scheduler_->DidAnimate(); |
} |
} |