WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
306603
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-01-30 00:32:38 PST
<
rdar://problem/169252451
>
Kimmo Kinnunen
Comment 2
2026-01-30 00:38:44 PST
Pull request:
https://github.com/WebKit/WebKit/pull/57539
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.
Top of Page
Format For Printing
XML
Clone This Bug