Index: Source/core/dom/NodeTraversal.cpp |
diff --git a/Source/core/dom/NodeTraversal.cpp b/Source/core/dom/NodeTraversal.cpp |
index 631a8b9c741b27c4473e41036afa58f1a4d37429..e9f9833147f59e4dba91771ed63d4e3891c340f4 100644 |
--- a/Source/core/dom/NodeTraversal.cpp |
+++ b/Source/core/dom/NodeTraversal.cpp |
@@ -74,29 +74,6 @@ Node* nextIncludingPseudoSkippingChildren(const Node& current, const Node* stayW |
return 0; |
} |
-Node* nextAncestorSibling(const Node& current) |
-{ |
- ASSERT(!current.nextSibling()); |
- for (Node* parent = current.parentNode(); parent; parent = parent->parentNode()) { |
- if (parent->nextSibling()) |
- return parent->nextSibling(); |
- } |
- return 0; |
-} |
- |
-Node* nextAncestorSibling(const Node& current, const Node* stayWithin) |
-{ |
- ASSERT(!current.nextSibling()); |
- ASSERT(current != stayWithin); |
- for (Node* parent = current.parentNode(); parent; parent = parent->parentNode()) { |
- if (parent == stayWithin) |
- return 0; |
- if (parent->nextSibling()) |
- return parent->nextSibling(); |
- } |
- return 0; |
-} |
- |
Node* previous(const Node& current, const Node* stayWithin) |
{ |
if (current == stayWithin) |