| 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 733b79723f041c4bad898826ea6532e761dc2dbc..06c4467fa7cb7ef53d3cb1bca5f9151aacff7ccf 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -1011,6 +1011,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())
|
|
|