| Index: third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/PendingSelection.cpp b/third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
| index a0ce47623cc5323286a52253b4aaef3c798ef531..171560d7703137e7ea9bc51c99b7f8d4a6c9c395 100644
|
| --- a/third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
| @@ -76,10 +76,10 @@ VisibleSelectionInFlatTree PendingSelection::calcVisibleSelection(const VisibleS
|
| if (paintBlockCursor) {
|
| VisiblePositionInFlatTree visibleExtent = createVisiblePosition(end, affinity);
|
| visibleExtent = nextPositionOf(visibleExtent, CanSkipOverEditingBoundary);
|
| - return VisibleSelectionInFlatTree(visibleStart, visibleExtent);
|
| + return createVisibleSelectionDeprecated(visibleStart, visibleExtent);
|
| }
|
| const VisiblePositionInFlatTree visibleEnd = createVisiblePosition(end, selectionType == SelectionType::RangeSelection ? TextAffinity::Upstream : affinity);
|
| - return VisibleSelectionInFlatTree(visibleStart, visibleEnd);
|
| + return createVisibleSelectionDeprecated(visibleStart, visibleEnd);
|
| }
|
|
|
| void PendingSelection::commit(LayoutView& layoutView)
|
|
|