| 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())
|
|
|