Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Unified Diff: Source/core/dom/Node.h

Issue 48633006: Teach V8GCController how to traverse TemplateContentDocumentFragment::host (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 1fe0467f9e3dfae905f5854fa1b554ba67bbd627..72fe6c674ddb1efb64609f379d2e7f8196141ff5 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -291,6 +291,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.

Powered by Google App Engine
This is Rietveld 408576698