Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bf459b0ed98a40fa4ba029c9f5a0b13793c2bfa4
      
https://github.com/WebKit/WebKit/commit/bf459b0ed98a40fa4ba029c9f5a0b13793c2bfa4
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/Implementation/WebGPUBufferImpl.cpp
    M Source/WebGPU/WebGPU/Buffer.h
    M Source/WebGPU/WebGPU/Buffer.mm
    M Source/WebGPU/WebGPU/WebGPU.h

  Log Message:
  -----------
  [WebGPU] Further Adopt std::span in WebGPU - Buffer
https://bugs.webkit.org/show_bug.cgi?id=281302
rdar://137744738

Reviewed by Tadeu Zagallo.

getBufferContents() was only used in one place, to construct
a std::span, so we move that construction of the span forwards.

Otherwise the change is a nop.

* Source/WebGPU/WebGPU/Buffer.h:
* Source/WebGPU/WebGPU/Buffer.mm:
(WebGPU::Buffer::getBufferContents):
(wgpuBufferGetBufferContents):
* Source/WebGPU/WebGPU/WebGPU.h:

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



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

Reply via email to