| 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 da2ae734d4a63734c3ea40430f1ee0d54ef9e463..c703b94d442770e2345c0f69dbff30e6e3605c0f 100644
|
| --- a/third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
| @@ -79,9 +79,9 @@ VisibleSelectionInFlatTree PendingSelection::calcVisibleSelection(
|
| }
|
|
|
| const VisiblePositionInFlatTree& visibleStart = createVisiblePosition(
|
| - start, selectionType == SelectionType::RangeSelection
|
| - ? TextAffinity::Downstream
|
| - : affinity);
|
| + start,
|
| + selectionType == SelectionType::RangeSelection ? TextAffinity::Downstream
|
| + : affinity);
|
| if (visibleStart.isNull())
|
| return VisibleSelectionInFlatTree();
|
| if (paintBlockCursor) {
|
| @@ -94,10 +94,10 @@ VisibleSelectionInFlatTree PendingSelection::calcVisibleSelection(
|
| builder.extend(visibleExtent.deepEquivalent());
|
| return createVisibleSelection(builder.build());
|
| }
|
| - const VisiblePositionInFlatTree visibleEnd =
|
| - createVisiblePosition(end, selectionType == SelectionType::RangeSelection
|
| - ? TextAffinity::Upstream
|
| - : affinity);
|
| + const VisiblePositionInFlatTree visibleEnd = createVisiblePosition(
|
| + end,
|
| + selectionType == SelectionType::RangeSelection ? TextAffinity::Upstream
|
| + : affinity);
|
| if (visibleEnd.isNull())
|
| return VisibleSelectionInFlatTree();
|
| SelectionInFlatTree::Builder builder;
|
|
|