| 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 2f1bc1a12e1d5855f2fac0a965b1c7f7d27a2b54..7e6c7a52e0424f48d7d5e5b7f18eaf9a776bb906 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| @@ -66,13 +66,14 @@ static bool isTableRowEmpty(Node* row) {
|
|
|
| DeleteSelectionCommand::DeleteSelectionCommand(
|
| Document& document,
|
| + CommandSource source,
|
| bool smartDelete,
|
| bool mergeBlocksAfterDelete,
|
| bool expandForSpecialElements,
|
| bool sanitizeMarkup,
|
| InputEvent::InputType inputType,
|
| const Position& referenceMovePosition)
|
| - : CompositeEditCommand(document),
|
| + : CompositeEditCommand(document, source),
|
| m_hasSelectionToDelete(false),
|
| m_smartDelete(smartDelete),
|
| m_mergeBlocksAfterDelete(mergeBlocksAfterDelete),
|
| @@ -89,13 +90,14 @@ DeleteSelectionCommand::DeleteSelectionCommand(
|
| m_deleteIntoBlockquoteStyle(nullptr) {}
|
|
|
| DeleteSelectionCommand::DeleteSelectionCommand(
|
| + CommandSource source,
|
| const VisibleSelection& selection,
|
| bool smartDelete,
|
| bool mergeBlocksAfterDelete,
|
| bool expandForSpecialElements,
|
| bool sanitizeMarkup,
|
| InputEvent::InputType inputType)
|
| - : CompositeEditCommand(*selection.start().document()),
|
| + : CompositeEditCommand(*selection.start().document(), source),
|
| m_hasSelectionToDelete(true),
|
| m_smartDelete(smartDelete),
|
| m_mergeBlocksAfterDelete(mergeBlocksAfterDelete),
|
|
|