| Index: views/controls/textfield/textfield.cc
|
| diff --git a/views/controls/textfield/textfield.cc b/views/controls/textfield/textfield.cc
|
| index c422a2c303d1b72987f80872b6ac27de9625e4d9..d0eee8c04254bb3bce9ce9cdb115eba4bd2c3cc2 100644
|
| --- a/views/controls/textfield/textfield.cc
|
| +++ b/views/controls/textfield/textfield.cc
|
| @@ -26,11 +26,11 @@
|
| #include "ui/base/keycodes/keyboard_code_conversion_gtk.h"
|
| #elif defined(OS_WIN)
|
| #include "base/win/win_util.h"
|
| +#include "ui/base/win/event_util.h"
|
| // TODO(beng): this should be removed when the OS_WIN hack from
|
| // ViewHierarchyChanged is removed.
|
| #include "views/controls/textfield/native_textfield_views.h"
|
| #include "views/controls/textfield/native_textfield_win.h"
|
| -#include "views/events/event_utils_win.h"
|
| #endif
|
|
|
| namespace views {
|
| @@ -341,7 +341,8 @@ bool Textfield::SkipDefaultKeyEventProcessing(const KeyEvent& e) {
|
| // We don't translate accelerators for ALT + NumPad digit on Windows, they are
|
| // used for entering special characters. We do translate alt-home.
|
| if (e.IsAltDown() && (key != ui::VKEY_HOME) &&
|
| - NativeTextfieldWin::IsNumPadDigit(key, IsExtendedKey(e)))
|
| + NativeTextfieldWin::IsNumPadDigit(key,
|
| + ui::IsExtendedKey(e.native_event())))
|
| return true;
|
| #endif
|
| return false;
|
|
|