WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
289554
[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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-03-11 11:39:38 PDT
<
rdar://problem/146778698
>
Alexsander Borges Damaceno
Comment 2
2025-03-11 16:44:59 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/42291
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.
Top of Page
Format For Printing
XML
Clone This Bug