Index: content/browser/web_contents/touch_editable_impl_aura_browsertest.cc |
diff --git a/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc b/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc |
index 9cbbf8139690ea5916ce8bc31a4dd274328e56eb..f9c84a6e398385dfb5c5f2684d49cfe481a53f12 100644 |
--- a/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc |
+++ b/content/browser/web_contents/touch_editable_impl_aura_browsertest.cc |
@@ -369,10 +369,9 @@ |
// Tap textfield |
touch_editable->Reset(); |
generator.GestureTapAt(gfx::Point(bounds.x() + 50, bounds.y() + 40)); |
- // Tap Down acks are sent synchronously, while Tap acks are asynchronous. |
- touch_editable->Reset(); |
- touch_editable->WaitForGestureAck(); |
- touch_editable->WaitForSelectionChangeCallback(); |
+ // Tap Down and Tap acks are sent synchronously. |
+ touch_editable->WaitForSelectionChangeCallback(); |
+ touch_editable->Reset(); |
// Check if cursor handle is showing. |
EXPECT_NE(ui::TEXT_INPUT_TYPE_NONE, GetTextInputType(touch_editable)); |