| Index: ui/views/controls/menu/menu_event_dispatcher_linux.cc
|
| diff --git a/ui/views/controls/menu/menu_event_dispatcher_linux.cc b/ui/views/controls/menu/menu_event_dispatcher_linux.cc
|
| index f61d58b99992e974283741b9696c3661448389ad..5d0ce068c00de37cafa12bb53858e94c8aa729e5 100644
|
| --- a/ui/views/controls/menu/menu_event_dispatcher_linux.cc
|
| +++ b/ui/views/controls/menu/menu_event_dispatcher_linux.cc
|
| @@ -60,7 +60,7 @@ uint32_t MenuEventDispatcher::DispatchEvent(const ui::PlatformEvent& event) {
|
| // Do not check mnemonics if the Alt or Ctrl modifiers are pressed.
|
| int flags = key_event->flags();
|
| if ((flags & (ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN)) == 0) {
|
| - char c = ui::GetCharacterFromKeyCode(key_event->key_code(), flags);
|
| + char c = ui::DomCodeToCharacter(key_event->code(), flags);
|
| if (menu_controller_->SelectByChar(c)) {
|
| should_quit = true;
|
| should_perform_default = false;
|
|
|