Index: Source/core/css/StyleInvalidationAnalysis.cpp |
diff --git a/Source/core/css/StyleInvalidationAnalysis.cpp b/Source/core/css/StyleInvalidationAnalysis.cpp |
index 440e17fe346b27d1401f0e3ee1da66beb0b17d28..1e4d95289ea12126d7228df8af8677b2b531b6fc 100644 |
--- a/Source/core/css/StyleInvalidationAnalysis.cpp |
+++ b/Source/core/css/StyleInvalidationAnalysis.cpp |
@@ -46,7 +46,7 @@ StyleInvalidationAnalysis::StyleInvalidationAnalysis(const Vector<StyleSheetCont |
static bool determineSelectorScopes(const CSSSelectorList& selectorList, HashSet<StringImpl*>& idScopes, HashSet<StringImpl*>& classScopes) |
{ |
- for (const CSSSelector* selector = selectorList.first(); selector; selector = CSSSelectorList::next(selector)) { |
+ for (const CSSSelector* selector = selectorList.first(); selector; selector = CSSSelectorList::next(*selector)) { |
const CSSSelector* scopeSelector = 0; |
// This picks the widest scope, not the narrowest, to minimize the number of found scopes. |
for (const CSSSelector* current = selector; current; current = current->tagHistory()) { |