Index: Source/core/editing/EditCommand.cpp |
diff --git a/Source/core/editing/EditCommand.cpp b/Source/core/editing/EditCommand.cpp |
index 0953c4e60639a24362aea6b9295ea6ac0b9be1a9..6fc9c6917fe17a39efbf0e980654bbf9f911e63c 100644 |
--- a/Source/core/editing/EditCommand.cpp |
+++ b/Source/core/editing/EditCommand.cpp |
@@ -44,16 +44,6 @@ EditCommand::EditCommand(Document& document) |
setEndingSelection(m_startingSelection); |
} |
-EditCommand::EditCommand(Document* document, const VisibleSelection& startingSelection, const VisibleSelection& endingSelection) |
- : m_document(document) |
- , m_parent(nullptr) |
-{ |
- ASSERT(m_document); |
- ASSERT(m_document->frame()); |
- setStartingSelection(startingSelection); |
- setEndingSelection(endingSelection); |
-} |
- |
EditCommand::~EditCommand() |
{ |
} |
@@ -83,11 +73,6 @@ void EditCommand::setStartingSelection(const VisibleSelection& selection) |
} |
} |
-void EditCommand::setStartingSelection(const VisiblePosition& position) |
-{ |
- setStartingSelection(VisibleSelection(position)); |
-} |
- |
void EditCommand::setEndingSelection(const VisibleSelection& selection) |
{ |
for (EditCommand* command = this; command; command = command->m_parent) { |