| Index: third_party/WebKit/Source/core/editing/EditingBehavior.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingBehavior.cpp b/third_party/WebKit/Source/core/editing/EditingBehavior.cpp
|
| index 310ddf1232c2ca1757da424b5ef0df555ce53a48..49088f02ad4cbd064e609650a27f02138bfc6258 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingBehavior.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingBehavior.cpp
|
| @@ -227,9 +227,9 @@ const char* EditingBehavior::interpretKeyEvent(
|
| }
|
|
|
| unsigned modifiers =
|
| - keyEvent->modifiers & (ShiftKey | AltKey | CtrlKey | MetaKey);
|
| + keyEvent->modifiers() & (ShiftKey | AltKey | CtrlKey | MetaKey);
|
|
|
| - if (keyEvent->type == WebInputEvent::RawKeyDown) {
|
| + if (keyEvent->type() == WebInputEvent::RawKeyDown) {
|
| int mapKey = modifiers << 16 | event.keyCode();
|
| const char* name = mapKey ? keyDownCommandsMap->get(mapKey) : nullptr;
|
| if (!name)
|
|
|