Bug 306606

Summary: Remove HTMLCanvasElement::clearImageBuffer, it is redundant
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: CanvasAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 275100    

Kimmo Kinnunen
Reported 2026-01-30 00:52:41 PST
Remove HTMLCanvasElement::clearImageBuffer, it is redundant 2D context canvas is cleared in 2DCanvasRenderingContext::reset() already. The function makes it harder to move the ImageBuffer to 2DCanvasRenderingContext.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-01-30 00:52:48 PST
Kimmo Kinnunen
Comment 2 2026-01-30 00:54:27 PST
EWS
Comment 3 2026-01-30 11:34:40 PST
Committed 306510@main (104d3149f3b3): <https://commits.webkit.org/306510@main> Reviewed commits have been landed. Closing PR #57542 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.