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

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

Issue 2384633003: Prune CreateVisibleSelectionDeprecated from SelectionModifier (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/SelectionModifier.cpp
diff --git a/third_party/WebKit/Source/core/editing/SelectionModifier.cpp b/third_party/WebKit/Source/core/editing/SelectionModifier.cpp
index c279ced550af228abcdd673345e6d96ecceba55c..5adcd69712aac14f3a8f4b75f3976c97ef931702 100644
--- a/third_party/WebKit/Source/core/editing/SelectionModifier.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionModifier.cpp
@@ -587,7 +587,7 @@ bool SelectionModifier::modify(EAlteration alter, SelectionDirection direction,
switch (alter) {
case FrameSelection::AlterationMove:
- m_selection = createVisibleSelectionDeprecated(position, m_selection.isDirectional());
+ m_selection = createVisibleSelection(position, m_selection.isDirectional());
break;
case FrameSelection::AlterationExtend:
@@ -697,7 +697,7 @@ bool SelectionModifier::modifyWithPageGranularity(EAlteration alter, unsigned ve
switch (alter) {
case FrameSelection::AlterationMove:
- m_selection = createVisibleSelectionDeprecated(result, m_selection.isDirectional());
+ m_selection = createVisibleSelection(result, m_selection.isDirectional());
break;
case FrameSelection::AlterationExtend:
m_selection.setExtent(result);
« 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