| Index: third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| index b50525cf79dc8572f7547fd19ce850004a298dfe..3b1fc13c4d60a925a42a99e43bb80b18aa48b937 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| @@ -150,18 +150,6 @@ VisibleSelectionInFlatTree createVisibleSelection(
|
| return createVisibleSelection(builder.build());
|
| }
|
|
|
| -VisibleSelectionInFlatTree createVisibleSelection(
|
| - const VisiblePositionInFlatTree& base,
|
| - const VisiblePositionInFlatTree& extent,
|
| - bool isDirectional) {
|
| - DCHECK(base.isValid());
|
| - DCHECK(extent.isValid());
|
| - // TODO(xiaochengh): We should check |base.isNotNull() || extent.isNull()|
|
| - // after all call sites have ensured that.
|
| - return createVisibleSelection(base.deepEquivalent(), extent.deepEquivalent(),
|
| - base.affinity(), isDirectional);
|
| -}
|
| -
|
| template <typename Strategy>
|
| static SelectionType computeSelectionType(
|
| const PositionTemplate<Strategy>& start,
|
|
|