| Index: Source/core/editing/VisibleSelection.h
|
| diff --git a/Source/core/editing/VisibleSelection.h b/Source/core/editing/VisibleSelection.h
|
| index 0b4db45b9fbc0145beadc8535fd6aada9f8b2ca7..42558686694ba6455afe744e91d3944bdd3f75bf 100644
|
| --- a/Source/core/editing/VisibleSelection.h
|
| +++ b/Source/core/editing/VisibleSelection.h
|
| @@ -82,11 +82,11 @@ public:
|
| static SelectionType selectionType(const VisibleSelection& selection) { return selection.selectionTypeInComposedTree(); }
|
| static VisiblePosition selectionVisibleStart(const VisibleSelection& selection)
|
| {
|
| - return visiblePositionOf(selectionStart(selection), isRange(selection) ? TextAffinity::Downstream : selection.affinity());
|
| + return createVisiblePosition(selectionStart(selection), isRange(selection) ? TextAffinity::Downstream : selection.affinity());
|
| }
|
| static VisiblePosition selectionVisibleEnd(const VisibleSelection& selection)
|
| {
|
| - return visiblePositionOf(selectionEnd(selection), isRange(selection) ? TextAffinity::Upstream : selection.affinity());
|
| + return createVisiblePosition(selectionEnd(selection), isRange(selection) ? TextAffinity::Upstream : selection.affinity());
|
| }
|
| static PositionType toPositionType(const Position& position) { return toPositionInComposedTree(position); }
|
| };
|
|
|