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

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

Issue 18147020: Remove broken sibling selector optimization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « no previous file | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/SelectorChecker.h
diff --git a/Source/core/css/SelectorChecker.h b/Source/core/css/SelectorChecker.h
index 7a56569667beb767e2d0d7cbc07357f7c1bb75fc..c1f7fd148e9d59bb3e9fb4d6eaa404104c818a10 100644
--- a/Source/core/css/SelectorChecker.h
+++ b/Source/core/css/SelectorChecker.h
@@ -55,7 +55,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)
@@ -68,7 +68,6 @@ public:
, hasScrollbarPseudo(false)
, hasSelectionPseudo(false)
, behaviorAtBoundary(DoesNotCrossBoundary)
- , childIndex(childIndex)
{ }
const CSSSelector* selector;
@@ -83,7 +82,6 @@ public:
bool hasScrollbarPseudo;
bool hasSelectionPseudo;
BehaviorAtBoundary behaviorAtBoundary;
- int childIndex;
};
template<typename SiblingTraversalStrategy>
« no previous file with comments | « no previous file | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698