| Index: third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| index ecc6a3df2097432c17d46c927a6ed7a77490a758..e4f0a33bf70a3e44f0dd75f36adb283f895eee2b 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| @@ -113,24 +113,27 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand {
|
| private:
|
| static TypingCommand* create(
|
| Document& document,
|
| + EditCommandSource source,
|
| ETypingCommand command,
|
| const String& text = "",
|
| Options options = 0,
|
| TextGranularity granularity = CharacterGranularity) {
|
| - return new TypingCommand(document, command, text, options, granularity,
|
| - TextCompositionNone);
|
| + return new TypingCommand(document, source, command, text, options,
|
| + granularity, TextCompositionNone);
|
| }
|
|
|
| static TypingCommand* create(Document& document,
|
| + EditCommandSource source,
|
| ETypingCommand command,
|
| const String& text,
|
| Options options,
|
| TextCompositionType compositionType) {
|
| - return new TypingCommand(document, command, text, options,
|
| + return new TypingCommand(document, source, command, text, options,
|
| CharacterGranularity, compositionType);
|
| }
|
|
|
| TypingCommand(Document&,
|
| + EditCommandSource,
|
| ETypingCommand,
|
| const String& text,
|
| Options,
|
|
|