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

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

Issue 2920733002: Rename VisibleSelection::end() to End() (Closed)
Patch Set: 2017-06-01T18:31:38 Created 3 years, 7 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/EditorCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
index 76b11ff233e2512e6f352404c1684ea0f2a58999..029e5f7c40f442e4ff6f2d412d26bf02dacaf176 100644
--- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
@@ -430,7 +430,7 @@ static TriState SelectionListState(const FrameSelection& selection,
selection.ComputeVisibleSelectionInDOMTreeDeprecated().Start(),
tag_name);
Element* end_element = EnclosingElementWithTag(
- selection.ComputeVisibleSelectionInDOMTreeDeprecated().end(), tag_name);
+ selection.ComputeVisibleSelectionInDOMTreeDeprecated().End(), tag_name);
if (start_element && end_element && start_element == end_element) {
// If the selected list has the different type of list as child, return
@@ -492,7 +492,7 @@ static WritingDirection TextDirectionForSelection(
Position end;
if (selection.IsRange()) {
- end = MostBackwardCaretPosition(selection.end());
+ end = MostBackwardCaretPosition(selection.End());
DCHECK(end.GetDocument());
const EphemeralRange caret_range(position.ParentAnchoredEquivalent(),

Powered by Google App Engine
This is Rietveld 408576698