Bug 256778

Summary: ImageBufferBackend::getPixelBuffer has redundant allocator parameter
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: CanvasAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Kimmo Kinnunen
Reported 2023-05-15 01:44:37 PDT
ImageBufferBackend::getPixelBuffer has redundant allocator parameter ImageBufferBackend::getPixelBuffer is a virtual function where subclasses can customize the behavior. The PixelBuffer allocator parameter is not used in polymorphic way. Instead, the caller of ImageBufferBackend::getImageBuffer, e.g. ImageBuffer and RemoteImageBufferProxy, can create the PixelBuffer before invoking getPixelBuffer.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-05-15 01:45:04 PDT
Kimmo Kinnunen
Comment 2 2023-05-15 01:59:44 PDT
EWS
Comment 3 2023-05-19 01:35:20 PDT
Committed 264239@main (61e0dd7d8d87): <https://commits.webkit.org/264239@main> Reviewed commits have been landed. Closing PR #13870 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.