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

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

Issue 2382993002: Prune CreateVisibleSelectionDeprecated from PendingSelection (Closed)
Patch Set: Created 4 years, 3 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/PendingSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/PendingSelection.cpp b/third_party/WebKit/Source/core/editing/PendingSelection.cpp
index 171560d7703137e7ea9bc51c99b7f8d4a6c9c395..ec03e79ee264839c7292554d6cd6932f102bffd8 100644
--- a/third_party/WebKit/Source/core/editing/PendingSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/PendingSelection.cpp
@@ -76,10 +76,10 @@ VisibleSelectionInFlatTree PendingSelection::calcVisibleSelection(const VisibleS
if (paintBlockCursor) {
VisiblePositionInFlatTree visibleExtent = createVisiblePosition(end, affinity);
visibleExtent = nextPositionOf(visibleExtent, CanSkipOverEditingBoundary);
- return createVisibleSelectionDeprecated(visibleStart, visibleExtent);
+ return createVisibleSelection(visibleStart, visibleExtent);
}
const VisiblePositionInFlatTree visibleEnd = createVisiblePosition(end, selectionType == SelectionType::RangeSelection ? TextAffinity::Upstream : affinity);
- return createVisibleSelectionDeprecated(visibleStart, visibleEnd);
+ return createVisibleSelection(visibleStart, visibleEnd);
}
void PendingSelection::commit(LayoutView& layoutView)
« 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