| Index: Source/core/editing/VisibleSelection.cpp
|
| diff --git a/Source/core/editing/VisibleSelection.cpp b/Source/core/editing/VisibleSelection.cpp
|
| index e09f638170f9be4a287a4c28e8df4704118209cc..e10c51a1e397a7ff1c879442ccfb94ce9d6db2a4 100644
|
| --- a/Source/core/editing/VisibleSelection.cpp
|
| +++ b/Source/core/editing/VisibleSelection.cpp
|
| @@ -230,18 +230,6 @@ PassRefPtrWillBeRawPtr<Range> firstRangeOf(const VisibleSelection& selection)
|
| return Range::create(*start.document(), start, end);
|
| }
|
|
|
| -// TODO(yosin) We should move |intersectsNode()| to "FrameSelection.cpp".
|
| -bool intersectsNode(const VisibleSelection& selection, Node* node)
|
| -{
|
| - if (selection.isNone())
|
| - return false;
|
| - Position start = selection.start().parentAnchoredEquivalent();
|
| - Position end = selection.end().parentAnchoredEquivalent();
|
| - TrackExceptionState exceptionState;
|
| - // TODO(yosin) We should avoid to use |Range::intersectsNode()|.
|
| - return Range::intersectsNode(node, start, end, exceptionState) && !exceptionState.hadException();
|
| -}
|
| -
|
| template <typename Strategy>
|
| static EphemeralRangeTemplate<Strategy> normalizeRangeAlgorithm(const EphemeralRangeTemplate<Strategy>& range)
|
| {
|
|
|