Changeset 286188 in webkit
- Timestamp:
- Nov 27, 2021 1:44:59 AM (8 months ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
style/RuleFeature.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r286187 r286188 1 2021-11-27 Antti Koivisto <antti@apple.com> 2 3 [:has() pseudo-class] Invalidation support for adding and removing elements 4 https://bugs.webkit.org/show_bug.cgi?id=233489 5 <rdar://problem/85754298> 6 7 Unreviewed followup. 8 9 Some unitialized bits caused us to do unnecessary work and regressed Speedometer. 10 11 * style/RuleFeature.h: 12 13 Initialize the usedMatchElements array. 14 1 15 2021-11-26 Sam Weinig <weinig@apple.com> 2 16 -
trunk/Source/WebCore/style/RuleFeature.h
r286180 r286188 87 87 HashSet<CSSSelector::PseudoClassType, IntHash<CSSSelector::PseudoClassType>, WTF::StrongEnumHashTraits<CSSSelector::PseudoClassType>> pseudoClassesAffectingHost; 88 88 89 std::array<bool, matchElementCount> usedMatchElements ;89 std::array<bool, matchElementCount> usedMatchElements { }; 90 90 91 91 bool usesFirstLineRules { false };
Note: See TracChangeset
for help on using the changeset viewer.