WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
289555
[Grid][Cleanup] Adopt RenderChildIterator throughout grid code
https://bugs.webkit.org/show_bug.cgi?id=289555
Summary
[Grid][Cleanup] Adopt RenderChildIterator throughout grid code
Sammy Gill
Reported
2025-03-11 11:47:59 PDT
RenderGrid has a few instances of a common pattern that is used to traverse over its grid items: for (RenderBox* gridItem = firstChildBox(); gridItem; gridItem = gridItem->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:48:55 PDT
<
rdar://problem/146779702
>
Taher
Comment 2
2025-03-11 14:06:38 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/42277
EWS
Comment 3
2025-03-12 14:09:28 PDT
Committed
292043@main
(f0515d83ab79): <
https://commits.webkit.org/292043@main
> Reviewed commits have been landed. Closing PR #42277 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