Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f6c16b9ea729135fc08ec21179373f59014c2901
      
https://github.com/WebKit/WebKit/commit/f6c16b9ea729135fc08ec21179373f59014c2901
  Author: Kimmo Kinnunen <kkinnu...@apple.com>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/image-bitmap-no-crash-expected.html
    A LayoutTests/fast/webgpu/image-bitmap-no-crash.html
    M Source/WebGPU/WebGPU/PresentationContextIOSurface.mm

  Log Message:
  -----------
  Creating ImageBitmap out of WebGPU OffscreenCanvas context crashes
https://bugs.webkit.org/show_bug.cgi?id=273255
rdar://126761479

Reviewed by Mike Wyrzykowski.

Transfer the CGImage malloc buffer ownership to the CGDataProvider.

* LayoutTests/fast/webgpu/image-bitmap-no-crash-expected.html: Added.
* LayoutTests/fast/webgpu/image-bitmap-no-crash.html: Added.
* Source/WebGPU/WebGPU/PresentationContextIOSurface.mm:
(WebGPU::PresentationContextIOSurface::getTextureAsNativeImage):

Canonical link: https://commits.webkit.org/278058@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to