| 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 e4e310ba992fcf14ebfbcff1c3287c593e68e7e1..3162ed6578e86b291479f4809b0dea901692a703 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -1028,9 +1028,11 @@ bool Editor::insertText(const String& text, KeyboardEvent* triggeringEvent) {
|
| return frame().eventHandler().handleTextInputEvent(text, triggeringEvent);
|
| }
|
|
|
| -bool Editor::insertTextWithoutSendingTextEvent(const String& text,
|
| - bool selectInsertedText,
|
| - TextEvent* triggeringEvent) {
|
| +bool Editor::insertTextWithoutSendingTextEvent(
|
| + const String& text,
|
| + bool selectInsertedText,
|
| + TextEvent* triggeringEvent,
|
| + InputEvent::InputType inputType) {
|
| if (text.isEmpty())
|
| return false;
|
|
|
| @@ -1047,7 +1049,8 @@ bool Editor::insertTextWithoutSendingTextEvent(const String& text,
|
| selectInsertedText ? TypingCommand::SelectInsertedText : 0,
|
| triggeringEvent && triggeringEvent->isComposition()
|
| ? TypingCommand::TextCompositionConfirm
|
| - : TypingCommand::TextCompositionNone);
|
| + : TypingCommand::TextCompositionNone,
|
| + false, inputType);
|
|
|
| // Reveal the current selection
|
| if (LocalFrame* editedFrame = selection.start().document()->frame()) {
|
|
|