| Index: views/widget/native_widget_win.cc
|
| diff --git a/views/widget/native_widget_win.cc b/views/widget/native_widget_win.cc
|
| index e31196e0b67a936a1eadbfc9748978aca0b9abaf..8b98ffa8456ccc60d30a00104b6e41809dc28551 100644
|
| --- a/views/widget/native_widget_win.cc
|
| +++ b/views/widget/native_widget_win.cc
|
| @@ -1879,10 +1879,10 @@ void NativeWidgetWin::OnSysCommand(UINT notification_code, CPoint click) {
|
| if ((notification_code & sc_mask) == SC_KEYMENU && click.x == 0) {
|
| // Retrieve the status of shift and control keys to prevent consuming
|
| // shift+alt keys, which are used by Windows to change input languages.
|
| - Accelerator accelerator(ui::KeyboardCodeForWindowsKeyCode(VK_MENU),
|
| - !!(GetKeyState(VK_SHIFT) & 0x8000),
|
| - !!(GetKeyState(VK_CONTROL) & 0x8000),
|
| - false);
|
| + ui::Accelerator accelerator(ui::KeyboardCodeForWindowsKeyCode(VK_MENU),
|
| + !!(GetKeyState(VK_SHIFT) & 0x8000),
|
| + !!(GetKeyState(VK_CONTROL) & 0x8000),
|
| + false);
|
| GetWidget()->GetFocusManager()->ProcessAccelerator(accelerator);
|
| return;
|
| }
|
|
|