Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index fe25b609320dd08d8d336ef2693d7ed3ce95bc7a..ac3ec23b710d1370dad7e1df8b99e3faefbc7715 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -290,6 +290,9 @@ public: |
void setParentOrShadowHostNode(ContainerNode*); |
Node* highestAncestor() const; |
+ // Knows about all kinds of hosts. |
+ ContainerNode* parentOrShadowHostOrTemplateHostNode() const; |
+ |
// Use when it's guaranteed to that shadowHost is 0. |
ContainerNode* parentNodeGuaranteedHostFree() const; |
// Returns the parent node, but 0 if the parent node is a ShadowRoot. |