Index: Source/core/dom/ElementTraversal.h |
diff --git a/Source/core/dom/ElementTraversal.h b/Source/core/dom/ElementTraversal.h |
index 197364715aea40a48629b23762cbdc08a94213e7..2b9ba96a500bb40996b657d935788569fee9e1c2 100644 |
--- a/Source/core/dom/ElementTraversal.h |
+++ b/Source/core/dom/ElementTraversal.h |
@@ -113,16 +113,6 @@ inline Element* Traversal<Element>::firstWithinTemplate(NodeType& current) |
template <> |
template <class NodeType> |
-inline Element* Traversal<Element>::lastWithinTemplate(NodeType& current) |
-{ |
- Node* node = NodeTraversal::lastWithin(current); |
- while (node && !node->isElementNode()) |
- node = NodeTraversal::previous(*node, ¤t); |
- return toElement(node); |
-} |
- |
-template <> |
-template <class NodeType> |
inline Element* Traversal<Element>::nextTemplate(NodeType& current) |
{ |
Node* node = NodeTraversal::next(current); |
@@ -141,26 +131,6 @@ inline Element* Traversal<Element>::nextTemplate(NodeType& current, const Node* |
return toElement(node); |
} |
-template <> |
-template <class NodeType> |
-inline Element* Traversal<Element>::previousTemplate(NodeType& current) |
-{ |
- Node* node = NodeTraversal::previous(current); |
- while (node && !node->isElementNode()) |
- node = NodeTraversal::previous(*node); |
- return toElement(node); |
-} |
- |
-template <> |
-template <class NodeType> |
-inline Element* Traversal<Element>::previousTemplate(NodeType& current, const Node* stayWithin) |
-{ |
- Node* node = NodeTraversal::previous(current, stayWithin); |
- while (node && !node->isElementNode()) |
- node = NodeTraversal::previous(*node, stayWithin); |
- return toElement(node); |
-} |
- |
// Generic versions. |
template <class ElementType> |
template <class NodeType> |