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 df45d9931c38df6ff77b937ad6bd3cf989ec5173..a3ad114eb91a49c752df741c441d3499428b0ca5 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(); |