Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 2ad38745cf739ae33a5705e7ee45c0ecfad27365..fd41385f5e66706985d6ce3cd400cdd814fe8de0 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -363,7 +363,7 @@ PassRefPtr<NodeList> Node::childNodes() |
return ensureRareData().ensureNodeLists().ensureEmptyChildNodeList(*this); |
} |
-Node& Node::lastDescendant() const |
+Node& Node::lastDescendantOrSelf() const |
{ |
Node* n = const_cast<Node*>(this); |
while (n && n->lastChild()) |