Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c392218715bcb96ac8b290707801a64ef5368408
      
https://github.com/WebKit/WebKit/commit/c392218715bcb96ac8b290707801a64ef5368408
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.cpp

  Log Message:
  -----------
  [WebGPU] RemoteBuffer::destroy should always call unmap first
https://bugs.webkit.org/show_bug.cgi?id=268386
<radar://107265905>

Reviewed by Dan Glastonbury.

A compromised web process can directly call destroy and
destroy should always call unmap first, so we can't rely
on the web content process to call unmap.

* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.cpp:
(WebKit::RemoteBuffer::unmap):
(WebKit::RemoteBuffer::destroy):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to