Bug 305029
| Summary: | Update CSSSelectorList::first() to return a reference | ||
|---|---|---|---|
| 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
Update CSSSelectorList::first() to return a reference instead of a raw pointer and have it call FixedVector's `operator[]` for memory safety.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/56183
EWS
Committed 305237@main (266815bc8b19): <https://commits.webkit.org/305237@main>
Reviewed commits have been landed. Closing PR #56183 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/167719991>