| Index: ui/events/test/event_generator.cc
|
| diff --git a/ui/events/test/event_generator.cc b/ui/events/test/event_generator.cc
|
| index ae3bcb6d667a786c82a7e55a47d290835d3c1898..dcad288fb894b967e08dec6c4acec65ff3e3c0a2 100644
|
| --- a/ui/events/test/event_generator.cc
|
| +++ b/ui/events/test/event_generator.cc
|
| @@ -540,7 +540,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);
|
|
|