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

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

Issue 2412043002: Prune createVisibleSelectionDeprecated from EditCommand::setEndingSelection (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/commands/EditCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/EditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditCommand.cpp
index edd331acaec6f1a42234be86e8be348363c50f7e..68185383d027ee51e81c01dca7ec5358304e27e2 100644
--- a/third_party/WebKit/Source/core/editing/commands/EditCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/EditCommand.cpp
@@ -82,7 +82,7 @@ void EditCommand::setEndingSelection(const VisibleSelection& selection) {
}
void EditCommand::setEndingSelection(const VisiblePosition& position) {
- setEndingSelection(createVisibleSelectionDeprecated(position));
+ setEndingSelection(createVisibleSelection(position));
}
bool EditCommand::isRenderedCharacter(const Position& position) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698