Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index dad59a8555c06933c6fb76ae84ec546c98e8d15e..39be17d1c0ba7392c4fa856adf43411cccc391fd 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -407,15 +407,6 @@ PassRefPtrWillBeRawPtr<NodeList> Node::childNodes() |
return ensureRareData().ensureNodeLists().ensureEmptyChildNodeList(*this); |
} |
-Node& Node::lastDescendantOrSelf() const |
-{ |
- Node* n = const_cast<Node*>(this); |
- while (n && n->lastChild()) |
- n = n->lastChild(); |
- ASSERT(n); |
- return *n; |
-} |
- |
Node* Node::pseudoAwarePreviousSibling() const |
{ |
if (parentElement() && !previousSibling()) { |