| Index: third_party/WebKit/Source/core/editing/DOMSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/DOMSelection.cpp b/third_party/WebKit/Source/core/editing/DOMSelection.cpp
|
| index 0dd8a65a4c64e7f55f9a88535db9b76dcd033656..180773fbaf07befeb71181ece08585e2622f03d5 100644
|
| --- a/third_party/WebKit/Source/core/editing/DOMSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/DOMSelection.cpp
|
| @@ -107,13 +107,13 @@ bool DOMSelection::IsBaseFirstInSelection() const {
|
| // removed.
|
| static Position AnchorPosition(const VisibleSelection& selection) {
|
| Position anchor =
|
| - selection.IsBaseFirst() ? selection.Start() : selection.end();
|
| + selection.IsBaseFirst() ? selection.Start() : selection.End();
|
| return anchor.ParentAnchoredEquivalent();
|
| }
|
|
|
| static Position FocusPosition(const VisibleSelection& selection) {
|
| Position focus =
|
| - selection.IsBaseFirst() ? selection.end() : selection.Start();
|
| + selection.IsBaseFirst() ? selection.End() : selection.Start();
|
| return focus.ParentAnchoredEquivalent();
|
| }
|
|
|
|
|