Bug 305434

Summary: Remove CanMakeCheckedPtr base for Style::ComputedStyleBase to recoup style size regression
Product: WebKit Reporter: Sam Weinig <sam>
Component: CSSAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: Unspecified   
OS: Unspecified   

Sam Weinig
Reported 2026-01-13 16:39:48 PST
When splitting Style::ComputedStyle from RenderStyle, making Style::ComputedStyleBase inherit from CanMakeCheckedPtr while also having RenderStyle inherit from CanMakeCheckedPtr, caused all RenderStyles to grow. Eventually, RenderStyle will just be a wrapper around a CheckedRef<const Style::ComputedStyle> but for now, we need to remove one of them.
Attachments
Sam Weinig
Comment 1 2026-01-13 16:42:21 PST
Said Abou-Hallawa
Comment 2 2026-01-14 10:07:18 PST
EWS
Comment 3 2026-01-14 15:27:08 PST
Committed 305612@main (3c71c8f9aac6): <https://commits.webkit.org/305612@main> Reviewed commits have been landed. Closing PR #56531 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.