Index: content/renderer/input/input_handler_proxy.cc |
diff --git a/content/renderer/input/input_handler_proxy.cc b/content/renderer/input/input_handler_proxy.cc |
index d9a34ada63b15efc548b0188ee606161997a3bfb..5d16f5ef38c16e0e5b61f74de19528a442ca4d5e 100644 |
--- a/content/renderer/input/input_handler_proxy.cc |
+++ b/content/renderer/input/input_handler_proxy.cc |
@@ -195,7 +195,7 @@ InputHandlerProxy::EventDisposition InputHandlerProxy::HandleInputEvent( |
TRACE_EVENT1("input", "InputHandlerProxy::HandleInputEvent", |
"type", WebInputEventTraits::GetName(event.type)); |
- client_->DidReceiveInputEvent(); |
+ client_->DidReceiveInputEvent(event.type); |
if (FilterInputEventForFlingBoosting(event)) |
return DID_HANDLE; |
@@ -609,6 +609,8 @@ void InputHandlerProxy::Animate(base::TimeTicks time) { |
return; |
} |
+ client_->DidAnimateForInput(); |
+ |
if (!has_fling_animation_started_) { |
has_fling_animation_started_ = true; |
// Guard against invalid, future or sufficiently stale start times, as there |