Index: Source/core/dom/ContainerNode.h |
diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h |
index 3830c9ac02ecbea6127fa13a736207a8e2676fc1..565d4c2c1d2eb2303f453fc0ecb2ac7740e7aa61 100644 |
--- a/Source/core/dom/ContainerNode.h |
+++ b/Source/core/dom/ContainerNode.h |
@@ -299,7 +299,7 @@ inline Node* Node::lastChild() const |
return toContainerNode(this)->lastChild(); |
} |
-inline Node& Node::highestAncestor() const |
+inline Node& Node::highestAncestorOrSelf() const |
{ |
Node* node = const_cast<Node*>(this); |
Node* highest = node; |