| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index 14a5d8356e6f6256f2f115796f67d5b5ff2f3def..d3abdb2996fb684e7a1b9c71a40d896de90f57c4 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -1313,8 +1313,8 @@ bool BrowserView::PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
|
| bool* is_keyboard_shortcut) {
|
| *is_keyboard_shortcut = false;
|
|
|
| - if ((event.type != blink::WebInputEvent::RawKeyDown) &&
|
| - (event.type != blink::WebInputEvent::KeyUp)) {
|
| + if ((event.type() != blink::WebInputEvent::RawKeyDown) &&
|
| + (event.type() != blink::WebInputEvent::KeyUp)) {
|
| return false;
|
| }
|
|
|
| @@ -1382,7 +1382,7 @@ bool BrowserView::PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
|
|
|
| if (id != -1) {
|
| // |accelerator| is a non-reserved browser shortcut (e.g. Ctrl+f).
|
| - if (event.type == blink::WebInputEvent::RawKeyDown)
|
| + if (event.type() == blink::WebInputEvent::RawKeyDown)
|
| *is_keyboard_shortcut = true;
|
| } else if (processed) {
|
| // |accelerator| is a non-browser shortcut (e.g. F4-F10 on Ash). Report
|
|
|