| 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 3e3b807a83a7e0f02d8427f97ae027b641d4512f..cd3f4b74c14cba266132e0cab300f1b0ea9baa3a 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -584,25 +584,6 @@ Node& Node::shadowIncludingRoot() const
|
| return *root;
|
| }
|
|
|
| -bool Node::isUnclosedNodeOf(const Node& other) const
|
| -{
|
| - if (!isInShadowTree() || treeScope() == other.treeScope())
|
| - return true;
|
| -
|
| - const TreeScope* scope = &treeScope();
|
| - for (; scope->parentTreeScope(); scope = scope->parentTreeScope()) {
|
| - const ContainerNode& root = scope->rootNode();
|
| - if (root.isShadowRoot() && !toShadowRoot(root).isOpenOrV0())
|
| - break;
|
| - }
|
| -
|
| - for (TreeScope* otherScope = &other.treeScope(); otherScope; otherScope = otherScope->parentTreeScope()) {
|
| - if (otherScope == scope)
|
| - return true;
|
| - }
|
| - return false;
|
| -}
|
| -
|
| bool Node::needsDistributionRecalc() const
|
| {
|
| return shadowIncludingRoot().childNeedsDistributionRecalc();
|
|
|