Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp

Issue 2733933003: Move CompositeEditCommand::deleteSelection() to TypingCommand::deleteSelectionIfRange() (Closed)
Patch Set: 2017-03-07T14:29:09 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 fe67f4e254b58e21a8d5a4409f27a832f5d7ab6d..780dc67cc1729f8cf995d830d3fa59898b83cb62 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
@@ -651,19 +651,6 @@ void CompositeEditCommand::deleteSelection(EditingState* editingState,
editingState);
}
-void CompositeEditCommand::deleteSelection(const VisibleSelection& selection,
- EditingState* editingState,
- bool smartDelete,
- bool mergeBlocksAfterDelete,
- bool expandForSpecialElements,
- bool sanitizeMarkup) {
- if (selection.isRange())
- applyCommandToComposite(DeleteSelectionCommand::create(
- selection, smartDelete, mergeBlocksAfterDelete,
- expandForSpecialElements, sanitizeMarkup),
- editingState);
-}
-
void CompositeEditCommand::removeCSSProperty(Element* element,
CSSPropertyID property) {
// RemoveCSSPropertyCommand is never aborted.

Powered by Google App Engine
This is Rietveld 408576698