| Index: Source/core/editing/Position.cpp
|
| diff --git a/Source/core/editing/Position.cpp b/Source/core/editing/Position.cpp
|
| index 8cb39b2b910b99ef366201e2fc6beda3b017c0b3..6708e109ae17fc5a529f810c9d553c643556f585 100644
|
| --- a/Source/core/editing/Position.cpp
|
| +++ b/Source/core/editing/Position.cpp
|
| @@ -549,29 +549,6 @@ bool hasRenderedNonAnonymousDescendantsWithHeight(LayoutObject* layoutObject)
|
| }
|
|
|
| template <typename Strategy>
|
| -Node* PositionAlgorithm<Strategy>::rootUserSelectAllForNode(Node* node)
|
| -{
|
| - if (!node || !nodeIsUserSelectAll(node))
|
| - return 0;
|
| - Node* parent = Strategy::parent(*node);
|
| - if (!parent)
|
| - return node;
|
| -
|
| - Node* candidateRoot = node;
|
| - while (parent) {
|
| - if (!parent->layoutObject()) {
|
| - parent = Strategy::parent(*parent);
|
| - continue;
|
| - }
|
| - if (!nodeIsUserSelectAll(parent))
|
| - break;
|
| - candidateRoot = parent;
|
| - parent = Strategy::parent(*candidateRoot);
|
| - }
|
| - return candidateRoot;
|
| -}
|
| -
|
| -template <typename Strategy>
|
| bool PositionAlgorithm<Strategy>::isCandidate() const
|
| {
|
| if (isNull())
|
|
|