| Index: content/browser/renderer_host/input/input_router_impl_unittest.cc
|
| diff --git a/content/browser/renderer_host/input/input_router_impl_unittest.cc b/content/browser/renderer_host/input/input_router_impl_unittest.cc
|
| index 593945514130388367c93691a8f530d205af7c12..ae6b1372c1f339f3916090e74a060518c6051c06 100644
|
| --- a/content/browser/renderer_host/input/input_router_impl_unittest.cc
|
| +++ b/content/browser/renderer_host/input/input_router_impl_unittest.cc
|
| @@ -1285,17 +1285,12 @@
|
| EXPECT_EQ(1U, GetSentMessageCountAndResetSink());
|
|
|
| // The GestureTapUnconfirmed is converted into a tap, as the touch action is
|
| - // none.
|
| + // auto.
|
| SimulateGestureEvent(WebInputEvent::GestureTapUnconfirmed,
|
| WebGestureEvent::Touchscreen);
|
| - EXPECT_EQ(1U, GetSentMessageCountAndResetSink());
|
| - // This test will become invalid if GestureTap stops requiring an ack.
|
| - ASSERT_TRUE(!WebInputEventTraits::IgnoresAckDisposition(
|
| - WebInputEvent::GestureTap));
|
| - EXPECT_EQ(2, client_->in_flight_event_count());
|
| SendInputEventACK(WebInputEvent::GestureTap,
|
| INPUT_EVENT_ACK_STATE_CONSUMED);
|
| - EXPECT_EQ(1, client_->in_flight_event_count());
|
| + EXPECT_EQ(1U, GetSentMessageCountAndResetSink());
|
|
|
| // This tap gesture is dropped, since the GestureTapUnconfirmed was turned
|
| // into a tap.
|
| @@ -1317,10 +1312,8 @@
|
| SimulateGestureEvent(WebInputEvent::GestureDoubleTap,
|
| WebGestureEvent::Touchscreen);
|
| // This test will become invalid if GestureDoubleTap stops requiring an ack.
|
| - ASSERT_TRUE(!WebInputEventTraits::IgnoresAckDisposition(
|
| + DCHECK(!WebInputEventTraits::IgnoresAckDisposition(
|
| WebInputEvent::GestureDoubleTap));
|
| - EXPECT_EQ(1, client_->in_flight_event_count());
|
| - SendInputEventACK(WebInputEvent::GestureTap, INPUT_EVENT_ACK_STATE_CONSUMED);
|
| EXPECT_EQ(0, client_->in_flight_event_count());
|
| }
|
|
|
|
|