Index: third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
index 1034596615e1f722207656ac81c84221c37fd687..2e0aca9d78b4911a1631688df234ce0b9aad6daf 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
@@ -929,12 +929,12 @@ void DeleteSelectionCommand::doApply(EditingState* editingState) |
clearTransientState(); |
} |
-EditAction DeleteSelectionCommand::editingAction() const |
+InputEvent::InputType DeleteSelectionCommand::inputType() const |
{ |
// Note that DeleteSelectionCommand is also used when the user presses the Delete key, |
- // but in that case there's a TypingCommand that supplies the editingAction(), so |
+ // but in that case there's a TypingCommand that supplies the inputType(), so |
// the Undo menu correctly shows "Undo Typing" |
- return EditActionCut; |
+ return InputEvent::InputType::Cut; |
} |
// Normally deletion doesn't preserve the typing style that was present before it. For example, |