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

Unified Diff: third_party/WebKit/Source/core/editing/LayoutSelection.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/LayoutSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/LayoutSelection.cpp b/third_party/WebKit/Source/core/editing/LayoutSelection.cpp
index 2467fa86c10c5a12a722b27791feae251433bad8..fffcccf5a958ba0d062b22b4bc00a379eb533485 100644
--- a/third_party/WebKit/Source/core/editing/LayoutSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/LayoutSelection.cpp
@@ -82,7 +82,7 @@ LayoutSelection::LayoutSelection(FrameSelection& frame_selection)
SelectionInFlatTree LayoutSelection::CalcVisibleSelection(
const VisibleSelectionInFlatTree& original_selection) const {
const PositionInFlatTree& start = original_selection.Start();
- const PositionInFlatTree& end = original_selection.end();
+ const PositionInFlatTree& end = original_selection.End();
SelectionType selection_type = original_selection.GetSelectionType();
const TextAffinity affinity = original_selection.Affinity();
@@ -346,7 +346,7 @@ void LayoutSelection::Commit() {
MostForwardCaretPosition(start_pos);
if (IsVisuallyEquivalentCandidate(most_forward_start))
start_pos = most_forward_start;
- PositionInFlatTree end_pos = selection.end();
+ PositionInFlatTree end_pos = selection.End();
const PositionInFlatTree most_backward = MostBackwardCaretPosition(end_pos);
if (IsVisuallyEquivalentCandidate(most_backward))
end_pos = most_backward;

Powered by Google App Engine
This is Rietveld 408576698