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

Unified Diff: third_party/WebKit/Source/core/editing/EditingUtilities.cpp

Issue 2392473002: Prune createVisibleSelectionDeprecated from EditingUtilities (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/EditingUtilities.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
index dac26764d040d25031cc2ce7727691b9c24502fd..120615cafa18b98a4817c7063507209ff2a17e61 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
@@ -1773,7 +1773,7 @@ VisibleSelection selectionForParagraphIteration(
// (a table is itself a paragraph).
if (Element* table = tableElementJustBefore(endOfSelection)) {
if (startOfSelection.deepEquivalent().anchorNode()->isDescendantOf(table))
- newSelection = createVisibleSelectionDeprecated(
+ newSelection = createVisibleSelection(
startOfSelection,
previousPositionOf(endOfSelection, CannotCrossEditingBoundary));
}
@@ -1784,7 +1784,7 @@ VisibleSelection selectionForParagraphIteration(
// containing the table itself.
if (Element* table = tableElementJustAfter(startOfSelection)) {
if (endOfSelection.deepEquivalent().anchorNode()->isDescendantOf(table))
- newSelection = createVisibleSelectionDeprecated(
+ newSelection = createVisibleSelection(
nextPositionOf(startOfSelection, CannotCrossEditingBoundary),
endOfSelection);
}
« 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