Bug 294925
| Summary: | Drop CSSSelectorList::next() and port call sites to using modern range loops instead | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | CSS | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/47131
EWS
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
<rdar://problem/154311616>