Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
=================================================================== |
--- chrome/browser/ui/views/autofill/autofill_dialog_views.cc (revision 244775) |
+++ chrome/browser/ui/views/autofill/autofill_dialog_views.cc (working copy) |
@@ -1717,11 +1717,7 @@ |
bool AutofillDialogViews::HandleKeyEvent(views::Textfield* sender, |
const ui::KeyEvent& key_event) { |
ui::KeyEvent copy(key_event); |
-#if defined(OS_WIN) && !defined(USE_AURA) |
- content::NativeWebKeyboardEvent event(copy.native_event()); |
-#else |
content::NativeWebKeyboardEvent event(©); |
-#endif |
return delegate_->HandleKeyPressEventInInput(event); |
} |