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..c9c3ab5ab15d19eed2e564464e29688a823a2889 100644 |
--- a/views/controls/textfield/native_textfield_views.cc |
+++ b/views/controls/textfield/native_textfield_views.cc |
@@ -96,11 +96,11 @@ void NativeTextfieldViews::OnMouseReleased(const views::MouseEvent& e, |
} |
bool NativeTextfieldViews::OnKeyPressed(const views::KeyEvent& e) { |
+ DLOG(WARNING) << "on key pressed"; |
Textfield::Controller* controller = textfield_->GetController(); |
bool handled = false; |
if (controller) { |
- Textfield::Keystroke ks(&e); |
- handled = controller->HandleKeystroke(textfield_, ks); |
+ handled = controller->HandleKeyEvent(textfield_, e); |
} |
return handled || HandleKeyEvent(e); |
} |