| Index: content/common/input/gesture_event_stream_validator.cc
|
| diff --git a/content/common/input/gesture_event_stream_validator.cc b/content/common/input/gesture_event_stream_validator.cc
|
| index b485da4ee1739f58845ce7269acd42c3890c9cbe..09b88c8bb9de18c1cb158b0c762f6ea60902bfde 100644
|
| --- a/content/common/input/gesture_event_stream_validator.cc
|
| +++ b/content/common/input/gesture_event_stream_validator.cc
|
| @@ -72,9 +72,13 @@ bool GestureEventStreamValidator::Validate(const blink::WebGestureEvent& event,
|
| waiting_for_tap_end_ = false;
|
| break;
|
| case WebInputEvent::GestureTap:
|
| + if (!waiting_for_tap_end_)
|
| + error_msg->append("Missing TapDown event before Tap\n");
|
| + waiting_for_tap_end_ = false;
|
| + break;
|
| case WebInputEvent::GestureDoubleTap:
|
| - // Both Tap and DoubleTap gestures may be synthetically inserted, and do
|
| - // not require a preceding TapDown.
|
| + // DoubleTap gestures may be synthetically inserted, and do not require a
|
| + // preceding TapDown.
|
| waiting_for_tap_end_ = false;
|
| break;
|
| default:
|
|
|