Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 736636d57dd511d65af826b91933dc9a50012e13
https://github.com/WebKit/WebKit/commit/736636d57dd511d65af826b91933dc9a50012e13
Author: Chris Dumez <[email protected]>
Date: 2025-12-10 (Wed, 10 Dec 2025)
Changed paths:
M Source/WebCore/css/StyleRule.h
Log Message:
-----------
Stop using WTF_ALLOW_UNSAFE_BUFFER_USAGE in StyleRule.h
https://bugs.webkit.org/show_bug.cgi?id=303901
Reviewed by Darin Adler.
Stop using WTF_ALLOW_UNSAFE_BUFFER_USAGE in StyleRule.h by leveraging
FixedVector which is bounds-checked. This tested as performance neutral
on Speedometer 3.
* Source/WebCore/css/StyleRule.h:
(WebCore::StyleRule::releaseCompiledSelectors const):
(WebCore::StyleRule::adoptSelectorList):
(WebCore::StyleRule::compiledSelectorForListIndex const):
Canonical link: https://commits.webkit.org/304220@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications