[Webkit-unassigned] [Bug 256778] New: ImageBufferBackend::getPixelBuffer has redundant allocator parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 15 01:44:37 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256778

            Bug ID: 256778
           Summary: ImageBufferBackend::getPixelBuffer has redundant
                    allocator parameter
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: dino at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230515/77025be1/attachment.htm>


More information about the webkit-unassigned mailing list