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

Unified Diff: Source/core/css/SelectorChecker.h

Issue 16629006: Revert 151996 "Avoid N^2 walk placing renderers when building th..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Update to head 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/css/SelectorChecker.h
diff --git a/Source/core/css/SelectorChecker.h b/Source/core/css/SelectorChecker.h
index 30b7f9edc4fb10df2e63182f98341d36533e7ead..2b192e755d1478e5457e0a306bec3f0eb35af2c2 100644
--- a/Source/core/css/SelectorChecker.h
+++ b/Source/core/css/SelectorChecker.h
@@ -58,7 +58,7 @@ public:
struct SelectorCheckingContext {
// Initial selector constructor
- SelectorCheckingContext(const CSSSelector* selector, Element* element, VisitedMatchType visitedMatchType, int childIndex = 0)
+ SelectorCheckingContext(const CSSSelector* selector, Element* element, VisitedMatchType visitedMatchType)
: selector(selector)
, element(element)
, scope(0)
@@ -71,7 +71,6 @@ public:
, hasScrollbarPseudo(false)
, hasSelectionPseudo(false)
, behaviorAtBoundary(DoesNotCrossBoundary)
- , childIndex(childIndex)
{ }
const CSSSelector* selector;
@@ -86,7 +85,6 @@ public:
bool hasScrollbarPseudo;
bool hasSelectionPseudo;
BehaviorAtBoundary behaviorAtBoundary;
- int childIndex;
};
template<typename SiblingTraversalStrategy>
« no previous file with comments | « LayoutTests/http/tests/cache/subresource-expiration-2-expected.txt ('k') | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698