Index: views/controls/textfield/native_textfield_views.cc |
diff --git a/views/controls/textfield/native_textfield_views.cc b/views/controls/textfield/native_textfield_views.cc |
index b7c01f81c9abe4f86348799546cde8ee7ec7941e..a21608e8e940b422f1d82ae8aea78cfadeb6cb91 100644 |
--- a/views/controls/textfield/native_textfield_views.cc |
+++ b/views/controls/textfield/native_textfield_views.cc |
@@ -472,6 +472,10 @@ bool NativeTextfieldViews::HandleKeyEvent(const KeyEvent& key_event) { |
if (controller) |
controller->ContentsChanged(textfield_, GetText()); |
} |
+ if (cursor_changed) { |
+ is_cursor_visible_ = true; |
+ RepaintCursor(); |
+ } |
if (text_changed || cursor_changed) { |
UpdateCursorBoundsAndTextOffset(); |
SchedulePaint(); |