Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index d28320ada6db3218cecfefede5954e802ee22206..119312a833b0234255c6181ab51a6a8977895481 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -1285,14 +1285,6 @@ Element* Node::parentOrShadowHostElement() const |
return toElement(parent); |
} |
-Node* Node::insertionParentForBinding() const |
-{ |
- Node* node = resolveReprojection(this); |
- while (node && node->containingShadowRoot() && node->containingShadowRoot()->type() == ShadowRoot::UserAgentShadowRoot) |
- node = resolveReprojection(node); |
- return node; |
-} |
- |
bool Node::needsShadowTreeWalkerSlow() const |
{ |
return (isShadowRoot() || (isElementNode() && (isInsertionPoint() || isPseudoElement() || toElement(this)->hasPseudoElements() || toElement(this)->shadow()))); |