| Index: third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h
|
| index 81f9a4ee4c7860c1c65418456faad0a03916373b..409b6a2752193d821ae1e0209b0c1a7a14c9969b 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h
|
| @@ -37,15 +37,17 @@ class CORE_EXPORT DeleteSelectionCommand final : public CompositeEditCommand {
|
| public:
|
| static DeleteSelectionCommand* create(
|
| Document& document,
|
| + EditCommandSource source,
|
| bool smartDelete = false,
|
| bool mergeBlocksAfterDelete = true,
|
| bool expandForSpecialElements = false,
|
| bool sanitizeMarkup = true,
|
| InputEvent::InputType inputType = InputEvent::InputType::None,
|
| const Position& referenceMovePosition = Position()) {
|
| - return new DeleteSelectionCommand(
|
| - document, smartDelete, mergeBlocksAfterDelete, expandForSpecialElements,
|
| - sanitizeMarkup, inputType, referenceMovePosition);
|
| + return new DeleteSelectionCommand(document, source, smartDelete,
|
| + mergeBlocksAfterDelete,
|
| + expandForSpecialElements, sanitizeMarkup,
|
| + inputType, referenceMovePosition);
|
| }
|
| static DeleteSelectionCommand* create(
|
| const VisibleSelection& selection,
|
| @@ -63,6 +65,7 @@ class CORE_EXPORT DeleteSelectionCommand final : public CompositeEditCommand {
|
|
|
| private:
|
| DeleteSelectionCommand(Document&,
|
| + EditCommandSource,
|
| bool smartDelete,
|
| bool mergeBlocksAfterDelete,
|
| bool expandForSpecialElements,
|
|
|