| Index: third_party/WebKit/Source/core/editing/Editor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| index c1d7b1601c31f25d33007acffabad03502910b9f..67cf663cd638fb1de63f51a51ecaf3786b596704 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -207,6 +207,11 @@ bool Editor::handleTextEvent(TextEvent* event) {
|
| if (event->isDrop())
|
| return false;
|
|
|
| + // Default event handling for IncrementalInsertion will be handled by
|
| + // TypingCommand::insertText(), so we leave the event for it.
|
| + if (event->isIncrementalInsertion())
|
| + return false;
|
| +
|
| // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| // needs to be audited. See http://crbug.com/590369 for more details.
|
| m_frame->document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|