Bug 310219

Summary: WidthIterator::expandWithInitialAdvance: Pass GlyphBufferAdvance by value and return result
Product: WebKit Reporter: Vitor Roriz <vitor.roriz>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: fantasai.bugs, vitor.roriz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Vitor Roriz
Reported 2026-03-18 14:37:04 PDT
GlyphBufferAdvance is a trivially-copyable 8-byte type (two floats). Pass both parameters by value and return the result instead of mutating through a reference.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-03-18 14:37:15 PDT
Vitor Roriz
Comment 2 2026-03-18 14:48:08 PDT
EWS
Comment 3 2026-03-18 20:08:16 PDT
Committed 309524@main (ff646bde9c20): <https://commits.webkit.org/309524@main> Reviewed commits have been landed. Closing PR #60889 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.