| Index: third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp b/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
|
| index c61d0e15e1d54ecf902ce70052a5b3d36550520d..275e8126b794cc034940d608e3cdb40f34203709 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
|
| @@ -43,7 +43,7 @@ bool Editor::handleEditingKeyboardEvent(KeyboardEvent* evt) {
|
| String commandName = behavior().interpretKeyEvent(*evt);
|
| Command command = this->createCommand(commandName);
|
|
|
| - if (keyEvent->type == WebInputEvent::RawKeyDown) {
|
| + if (keyEvent->type() == WebInputEvent::RawKeyDown) {
|
| // WebKit doesn't have enough information about mode to decide how
|
| // commands that just insert text if executed via Editor should be treated,
|
| // so we leave it upon WebCore to either handle them immediately
|
|
|