| 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;
|
|
|