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

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

Issue 15757013: Remove an experimental webkitInsertionParent API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months 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
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/Text.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())));
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/Text.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698