Index: ui/views/controls/textfield/textfield.cc |
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc |
index 0202b0fd694e1a11047a0258897dca591fa599de..f524912a0aab09cac613b5b7af8c2747fa06aa0b 100644 |
--- a/ui/views/controls/textfield/textfield.cc |
+++ b/ui/views/controls/textfield/textfield.cc |
@@ -872,7 +872,7 @@ void Textfield::OnFocus() { |
GetRenderText()->set_focused(true); |
cursor_visible_ = true; |
SchedulePaint(); |
- GetInputMethod()->OnTextInputTypeChanged(this); |
+ GetInputMethod()->OnFocus(); |
OnCaretBoundsChanged(); |
const size_t caret_blink_ms = Textfield::GetCaretBlinkMs(); |
@@ -888,7 +888,7 @@ void Textfield::OnFocus() { |
void Textfield::OnBlur() { |
GetRenderText()->set_focused(false); |
- GetInputMethod()->OnTextInputTypeChanged(this); |
+ GetInputMethod()->OnBlur(); |
cursor_repaint_timer_.Stop(); |
if (cursor_visible_) { |
cursor_visible_ = false; |