Issue #2078 - Part 2: Rename nsPseudoClassList->u.mSelectors to mSelectorList

This makes it clear that we're accessing a selector list (nsCSSSelectorList), which is different from the selectors (nsCSSSelector) contained inside a selector list. Previously, both were confusingly referred to as mSelectors.
This commit is contained in:
FranklinDM 2023-02-18 11:05:36 +08:00 • committed by roytam1
commit 0648ec64bb
3 changed files with 9 additions and 9 deletions

View file

@ -77,7 +77,7 @@ public:
void* mMemory; // mString and mNumbers use moz_xmalloc/free
char16_t* mString;
int32_t* mNumbers;
nsCSSSelectorList* mSelectors;
nsCSSSelectorList* mSelectorList;
} u;
CSSPseudoClassType mType;
nsPseudoClassList* mNext;