summaryrefslogtreecommitdiff
path: root/layout/style/StyleRule.h
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-02-18 11:05:36 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2023-02-20 23:35:54 +0800
commitbc399f78712db00edd71213bc048080ccdea72bc (patch)
treea10ae736b6570fa55d03c9d5878eabd001f61cc0 /layout/style/StyleRule.h
parent024b7500d1aa18b4b9170297ac8b8015b772010b (diff)
downloaduxp-bc399f78712db00edd71213bc048080ccdea72bc.tar.gz
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.
Diffstat (limited to 'layout/style/StyleRule.h')
-rw-r--r--layout/style/StyleRule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/style/StyleRule.h b/layout/style/StyleRule.h
index dbf4e08406..d619b5090b 100644
--- a/layout/style/StyleRule.h
+++ b/layout/style/StyleRule.h
@@ -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;