| Index: third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| index 03a4cfbed4e1c5db5179a9591c2dcd97316b8410..8e56bf043bffd04250b746a2b13d18410291902b 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| @@ -122,6 +122,13 @@ void TypingCommand::forwardDeleteKeyPressed(Document& document, EditingState* ed
|
| TypingCommand::create(document, ForwardDeleteKey, "", options, granularity)->apply();
|
| }
|
|
|
| +String TypingCommand::textDataForInputEvent() const
|
| +{
|
| + if (m_commands.isEmpty())
|
| + return m_textToInsert;
|
| + return m_commands.last()->textDataForInputEvent();
|
| +}
|
| +
|
| void TypingCommand::updateSelectionIfDifferentFromCurrentSelection(TypingCommand* typingCommand, LocalFrame* frame)
|
| {
|
| DCHECK(frame);
|
|
|