Index: content/browser/renderer_host/input/immediate_input_router.cc |
diff --git a/content/browser/renderer_host/input/immediate_input_router.cc b/content/browser/renderer_host/input/immediate_input_router.cc |
index a4c69054fd16cb8838053438b95b287a81ae904c..90ada10d50f9ffea0fd21a22a77e47a984ae3d89 100644 |
--- a/content/browser/renderer_host/input/immediate_input_router.cc |
+++ b/content/browser/renderer_host/input/immediate_input_router.cc |
@@ -543,6 +543,8 @@ void ImmediateInputRouter::ProcessWheelAck(InputEventAckState ack_result) { |
void ImmediateInputRouter::ProcessGestureAck(int type, |
InputEventAckState ack_result) { |
+ if (GestureEventFilter::IsGestureEventTypeAsync(type)) |
+ return; |
jdduke (slow)
2013/09/30 15:42:56
Are we sure that the |ack_handler_| will never be
tdresser
2013/09/30 18:05:03
I believe this is true. Acks for async event types
|
const bool processed = (INPUT_EVENT_ACK_STATE_CONSUMED == ack_result); |
ack_handler_->OnGestureEventAck( |
gesture_event_filter_->GetGestureEventAwaitingAck(), ack_result); |