Bug 241793

Summary: Remove local bounds from DrawGlyphs and DrawDecomposedGlyphs display list items
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: WebKit Process ModelAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Cameron McCormack (:heycam)
Reported 2022-06-20 18:28:19 PDT
These fields exist only because the localBounds() function on display list items doesn't have access to the relevant resources, only the resource ID. This patch passes the resource heap into localBounds() so that DrawGlyphs and DrawDecomposedGlyphs can compute bounds on the fly. This lets us avoid sending the bounds over IPC too.
Attachments
Cameron McCormack (:heycam)
Comment 1 2022-06-20 18:30:28 PDT
Radar WebKit Bug Importer
Comment 2 2022-06-27 18:29:12 PDT
EWS
Comment 3 2022-07-13 23:32:06 PDT
Committed 252442@main (d05bc644486e): <https://commits.webkit.org/252442@main> Reviewed commits have been landed. Closing PR #1642 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.