RESOLVED FIXED306603
Remove CanvasBase::m_contextStateSaver, it is not useful
https://bugs.webkit.org/show_bug.cgi?id=306603
Summary Remove CanvasBase::m_contextStateSaver, it is not useful
Kimmo Kinnunen
Reported 2026-01-30 00:32:30 PST
Remove CanvasBase::m_contextStateSaver, it is not useful GraphicsContextStateSaver is a RAII class, it's not more useful than explicit save/restore useful when managed explicitly. Having the state saver in CanvasBase makes it harder to move the ImageBuffer from CanvasBase to 2DCanvasRenderingContextBase
Attachments
Radar WebKit Bug Importer
Comment 1 2026-01-30 00:32:38 PST
Kimmo Kinnunen
Comment 2 2026-01-30 00:38:44 PST
EWS
Comment 3 2026-01-30 11:44:28 PST
Committed 306511@main (8d32ab8d183e): <https://commits.webkit.org/306511@main> Reviewed commits have been landed. Closing PR #57539 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.