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

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

Issue 17038004: Remove needsShadowTreeWalker flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 1bfea1deff84adf534275989696b3aae7a2be186..36fe28298beb83d3bf59a256437b667b67eb30fd 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -1304,11 +1304,6 @@ Element* Node::parentOrShadowHostElement() const
return toElement(parent);
}
-bool Node::needsShadowTreeWalkerSlow() const
-{
- return (isShadowRoot() || (isElementNode() && (isInsertionPoint() || isPseudoElement() || toElement(this)->hasPseudoElements() || toElement(this)->shadow())));
-}
-
bool Node::isBlockFlowElement() const
{
return isElementNode() && renderer() && renderer()->isBlockFlow();

Powered by Google App Engine
This is Rietveld 408576698