Bug 294925

Summary: Drop CSSSelectorList::next() and port call sites to using modern range loops instead
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2025-06-24 12:45:13 PDT
Drop CSSSelectorList::next() and port call sites to using modern range loops instead, to avoid dealing with raw pointers. This also restricts the WTF_ALLOW_UNSAFE_BUFFER_USAGE to `CSSSelectorList::const_iterator::operator++()`.
Attachments
Chris Dumez
Comment 1 2025-06-24 12:47:21 PDT
EWS
Comment 2 2025-06-25 11:11:59 PDT
Committed 296627@main (ca6229de87ba): <https://commits.webkit.org/296627@main> Reviewed commits have been landed. Closing PR #47131 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-06-25 11:12:16 PDT
Note You need to log in before you can comment on or make changes to this bug.