diff options
Diffstat (limited to 'layout/style/nsCSSRuleProcessor.cpp')
-rw-r--r-- | layout/style/nsCSSRuleProcessor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layout/style/nsCSSRuleProcessor.cpp b/layout/style/nsCSSRuleProcessor.cpp index 15838f411e..cccf881b26 100644 --- a/layout/style/nsCSSRuleProcessor.cpp +++ b/layout/style/nsCSSRuleProcessor.cpp @@ -2374,7 +2374,7 @@ static bool AnySelectorInArgListMatches(Element* aElement, bool aIsForgiving) { nsCSSSelectorList *l; - for (l = aList->u.mSelectors; l; l = l->mNext) { + for (l = aList->u.mSelectorList; l; l = l->mNext) { nsCSSSelector *s = l->mSelectors; if (s == nullptr) { MOZ_ASSERT(aIsForgiving, @@ -2401,7 +2401,7 @@ HasPseudoClassSelectorArgsWithCombinators(nsCSSSelector* aSelector) { for (nsPseudoClassList* p = aSelector->mPseudoClassList; p; p = p->mNext) { if (nsCSSPseudoClasses::HasSelectorListArg(p->mType)) { - for (nsCSSSelectorList* l = p->u.mSelectors; l; l = l->mNext) { + for (nsCSSSelectorList* l = p->u.mSelectorList; l; l = l->mNext) { if (l->mSelectors->mNext) { return true; } @@ -3519,7 +3519,7 @@ AddSelector(RuleCascadeData* aCascade, for (nsPseudoClassList* pseudoClass = negation->mPseudoClassList; pseudoClass; pseudoClass = pseudoClass->mNext) { if (nsCSSPseudoClasses::HasSelectorListArg(pseudoClass->mType)) { - for (nsCSSSelectorList *l = pseudoClass->u.mSelectors; l; l = l->mNext) { + for (nsCSSSelectorList *l = pseudoClass->u.mSelectorList; l; l = l->mNext) { nsCSSSelector *s = l->mSelectors; if (!AddSelector(aCascade, aSelectorInTopLevel, s, aRightmostSelector)) { |