| 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 fb3069fe61f76e94f0d4211defb816f5f0074449..566ccf0777a348fdc23370e2e3ba858672e3ee89 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| @@ -112,17 +112,6 @@ VisibleSelection createVisibleSelection(const VisiblePosition& base,
|
| base.affinity(), isDirectional);
|
| }
|
|
|
| -VisibleSelection createVisibleSelection(const EphemeralRange& range,
|
| - TextAffinity affinity,
|
| - bool isDirectional) {
|
| - DCHECK(!needsLayoutTreeUpdate(range.startPosition()));
|
| - DCHECK(!needsLayoutTreeUpdate(range.endPosition()));
|
| - SelectionInDOMTree::Builder builder;
|
| - builder.setBaseAndExtent(range).setAffinity(affinity).setIsDirectional(
|
| - isDirectional);
|
| - return createVisibleSelection(builder.build());
|
| -}
|
| -
|
| VisibleSelectionInFlatTree createVisibleSelection(
|
| const SelectionInFlatTree& selection) {
|
| return VisibleSelectionInFlatTree::create(selection);
|
| @@ -833,7 +822,6 @@ void VisibleSelectionTemplate<Strategy>::updateIfNeeded() {
|
| appendTrailingWhitespace();
|
| }
|
|
|
| -
|
| template <typename Strategy>
|
| static bool equalSelectionsAlgorithm(
|
| const VisibleSelectionTemplate<Strategy>& selection1,
|
|
|