Bug 289554
| Summary: | [Flex][Cleanup] Adopt RenderChildIterator throughout flex code | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sammy Gill <sgill26> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | GoodFirstBug, InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sammy Gill
RenderFlexibleBox has a couple instances of a common pattern that is used to traverse over its flex items:
for (RenderBox* flexItem = firstChildBox(); flexItem; flexItem = flexItem->nextSiblingBox())
If we started adopting RenderChildIterator in these places to do the same thing we could use range based for loops instead which is a nice cleanup
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/146778698>
Alexsander Borges Damaceno
Pull request: https://github.com/WebKit/WebKit/pull/42291
EWS
Committed 292025@main (b61aa98f93d3): <https://commits.webkit.org/292025@main>
Reviewed commits have been landed. Closing PR #42291 and removing active labels.