Bug 302499

Summary: RemoteImageBufferSet destructor should use GraphicsContext::unwindStateStack
Product: WebKit Reporter: Anthony Tarbinian <a.tarbinian>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Anthony Tarbinian
Reported 2025-11-13 16:45:42 PST
Previously, the RemoteImageBufferSet destructor called restore in a loop. However, this doesn't take into account the purpose of each GraphicsContext on the stack which can result in inconsistent purposes and hit ASSERTs in GraphicsContext::restore.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-11-13 16:45:50 PST
Anthony Tarbinian
Comment 2 2025-11-13 16:53:49 PST
EWS
Comment 3 2025-11-19 16:44:32 PST
Committed 303296@main (be500683ac3f): <https://commits.webkit.org/303296@main> Reviewed commits have been landed. Closing PR #53904 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.