| Index: ui/events/test/event_generator.cc
|
| diff --git a/ui/events/test/event_generator.cc b/ui/events/test/event_generator.cc
|
| index 9142d5c0c6ed661c9b68bcc03136743ecc3e555f..b4478d9e5716ef1287a2c8fbe3005968716a61e4 100644
|
| --- a/ui/events/test/event_generator.cc
|
| +++ b/ui/events/test/event_generator.cc
|
| @@ -522,7 +522,8 @@ void EventGenerator::DispatchKeyEvent(bool is_press,
|
| int flags) {
|
| #if defined(OS_WIN)
|
| UINT key_press = WM_KEYDOWN;
|
| - uint16 character = ui::GetCharacterFromKeyCode(key_code, flags);
|
| + DomCode code = ui::KeyboardCodeToDomCode(key_code);
|
| + uint16 character = ui::DomCodeToCharacter(code, flags);
|
| if (is_press && character) {
|
| MSG native_event = { NULL, WM_KEYDOWN, key_code, 0 };
|
| TestKeyEvent keyev(native_event, flags);
|
|
|