RESOLVED FIXED289554
[Flex][Cleanup] Adopt RenderChildIterator throughout flex code
https://bugs.webkit.org/show_bug.cgi?id=289554
Summary [Flex][Cleanup] Adopt RenderChildIterator throughout flex code
Sammy Gill
Reported 2025-03-11 11:39:18 PDT
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
Radar WebKit Bug Importer
Comment 1 2025-03-11 11:39:38 PDT
Alexsander Borges Damaceno
Comment 2 2025-03-11 16:44:59 PDT
EWS
Comment 3 2025-03-12 09:56:52 PDT
Committed 292025@main (b61aa98f93d3): <https://commits.webkit.org/292025@main> Reviewed commits have been landed. Closing PR #42291 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.