| 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 acc3e6ab9ddc781a624adc7a1523d647a044ab4e..ed0896a02cd6952e2489d7e194a921f18686f5ee 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| @@ -159,18 +159,6 @@ VisibleSelectionInFlatTree createVisibleSelection(
|
| }
|
|
|
| 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);
|
| -}
|
| -
|
| -VisibleSelectionInFlatTree createVisibleSelection(
|
| const EphemeralRangeInFlatTree& range,
|
| TextAffinity affinity,
|
| bool isDirectional) {
|
|
|