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

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

Issue 17038004: Remove needsShadowTreeWalker flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/NodeRenderingTraversal.h » ('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 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();
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/NodeRenderingTraversal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698