Chromium Code Reviews| 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 761d9a136a7b0f8ce6a0b2203d0fd7ecb3f42460..8b73a0dfa4034ed60d732eea6db64b1242d197e5 100644 |
| --- a/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp |
| +++ b/third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp |
| @@ -60,11 +60,6 @@ bool Editor::handleEditingKeyboardEvent(KeyboardEvent* evt) { |
| if (!behavior().shouldInsertCharacter(*evt) || !canEdit()) |
| return false; |
| - // Return true to prevent default action. e.g. Space key scroll. |
| - if (dispatchBeforeInputInsertText(evt->target(), keyEvent->text) != |
|
chongz
2016/12/20 23:27:52
Removed, typing was covered by |TypingCommand => w
|
| - DispatchEventResult::NotCanceled) |
| - return true; |
| - |
| return insertText(keyEvent->text, evt); |
| } |