Index: views/controls/textfield/native_textfield_views_unittest.cc |
diff --git a/views/controls/textfield/native_textfield_views_unittest.cc b/views/controls/textfield/native_textfield_views_unittest.cc |
index f3a046aac875911f89685bce48a0822cec681c19..6461f0e252d39c2e9653ce844ad2946356e32acf 100644 |
--- a/views/controls/textfield/native_textfield_views_unittest.cc |
+++ b/views/controls/textfield/native_textfield_views_unittest.cc |
@@ -1537,6 +1537,11 @@ TEST_F(NativeTextfieldViewsTest, OverflowInRTLTest) { |
display = GetDisplayRect(); |
OverflowCursorBoundTestVerifier(display, bound); |
+ // Sleep 1 second to simulate another single click. |
+ // TODO(jennyz): NonClientMouseClick() does not work for win_aura build; |
+ // see crbug.con/104150. Should replace the Sleep() call with |
+ // NonClientMouseClick() once the bug is fixed. |
+ base::PlatformThread::Sleep(1000); |
MouseClick(bound, 1); |
#if defined(OS_WIN) |
// In Windows, the text is always in LTR directionality even in RTL UI. |