Bug 277496

Summary: [css-grid] Refactor GridTrackSizingAlgorithm from RenderGrid member to stack-local variable
Product: WebKit Reporter: Brandon <brandonstewart>
Component: CSSAssignee: Brandon <brandonstewart>
Status: NEW    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Brandon
Reported 2024-08-01 11:50:18 PDT
Sammy and I had a discussion over the last two days about removing m_trackSizingAlgorithm from RenderGrid.h and refactoring it to inside of layoutGrid and layoutMasonry. This would allow a smaller scope of access to m_trackSizingAlgorithm and ensure that this object only survives during the layout step. Several references to m_trackSizingAlgorithm are called deeply nested inside the layout functions, which would require propagation of object down the function stack.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-01 11:50:39 PDT
Brandon
Comment 2 2026-02-27 09:28:51 PST
Note You need to log in before you can comment on or make changes to this bug.