Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index 04c2a801fdf4c899b3ce949eff900076c7fa8915..8999a9b1ffc7e79581607f88a489d6a5710b39b7 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -205,7 +205,7 @@ public: |
String textContent(bool convertBRsToNewlines = false) const; |
void setTextContent(const String&); |
- Node& lastDescendant() const; |
+ Node& lastDescendantOrSelf() const; |
// Other methods (not part of DOM) |
@@ -277,7 +277,7 @@ public: |
ContainerNode* parentOrShadowHostNode() const; |
Element* parentOrShadowHostElement() const; |
void setParentOrShadowHostNode(ContainerNode*); |
- Node& highestAncestor() const; |
+ Node& highestAncestorOrSelf() const; |
// Knows about all kinds of hosts. |
ContainerNode* parentOrShadowHostOrTemplateHostNode() const; |