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

Unified Diff: third_party/WebKit/Source/core/dom/Node.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: third_party/WebKit/Source/core/dom/Node.cpp
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
index 9c1b87a59ddb8fcf52eb582403351aaeac535c88..5f82dcc25a54bab55142dd3308f464c4c6198731 100644
--- a/third_party/WebKit/Source/core/dom/Node.cpp
+++ b/third_party/WebKit/Source/core/dom/Node.cpp
@@ -1010,6 +1010,12 @@ Element* Node::parentOrShadowHostElement() const
return toElement(parent);
}
+void Node::setParentOrShadowHostNode(ContainerNode* parent)
+{
+ ASSERT(isMainThread());
+ m_parentOrShadowHostNode = parent;
+}
+
ContainerNode* Node::parentOrShadowHostOrTemplateHostNode() const
{
if (isDocumentFragment() && toDocumentFragment(this)->isTemplateContent())

Powered by Google App Engine
This is Rietveld 408576698