Index: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp |
index 046bf4ed70bd5a29694e73c8b6dc05b3dda0934e..8dfe33c483607d7cf01dacea07d2d2dfea5de9a0 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp |
@@ -190,6 +190,7 @@ bool CompositeEditCommand::apply() |
case InputEvent::InputType::InsertText: |
case InputEvent::InputType::InsertLineBreak: |
case InputEvent::InputType::InsertParagraph: |
+ case InputEvent::InputType::InsertFromPaste: |
case InputEvent::InputType::DeleteComposedCharacterForward: |
case InputEvent::InputType::DeleteComposedCharacterBackward: |
case InputEvent::InputType::DeleteWordBackward: |
@@ -198,10 +199,9 @@ bool CompositeEditCommand::apply() |
case InputEvent::InputType::DeleteLineForward: |
case InputEvent::InputType::DeleteContentBackward: |
case InputEvent::InputType::DeleteContentForward: |
- case InputEvent::InputType::Paste: |
+ case InputEvent::InputType::DeleteByCut: |
case InputEvent::InputType::Drag: |
case InputEvent::InputType::SetWritingDirection: |
- case InputEvent::InputType::Cut: |
case InputEvent::InputType::None: |
break; |
default: |