| 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 275e8126b794cc034940d608e3cdb40f34203709..cfca437097a7b9dbf2570f197d4774406647c901 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp
|
| @@ -73,7 +73,7 @@ bool Editor::handleEditingKeyboardEvent(KeyboardEvent* evt) {
|
| }
|
|
|
| // Return true to prevent default action. e.g. Space key scroll.
|
| - if (dispatchBeforeInputInsertText(evt->target(), keyEvent->text) !=
|
| + if (dispatchBeforeInputInsertText(evt->target()->toNode(), keyEvent->text) !=
|
| DispatchEventResult::NotCanceled)
|
| return true;
|
|
|
|
|