Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9b01d2cbf96a742dfb6195ebe6220455f349b902
      
https://github.com/WebKit/WebKit/commit/9b01d2cbf96a742dfb6195ebe6220455f349b902
  Author: Chris Dumez <[email protected]>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M Source/JavaScriptCore/API/JSTypedArray.cpp
    M Source/JavaScriptCore/runtime/ArrayBuffer.cpp
    M Source/JavaScriptCore/runtime/ArrayBuffer.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyMemory.cpp

  Log Message:
  -----------
  Add ArrayBuffer::createFromBytes() overload which takes in a std::span
https://bugs.webkit.org/show_bug.cgi?id=274795

Reviewed by Darin Adler.

Add ArrayBuffer::createFromBytes() overload which takes in a std::span
to promote the use of spans.

* Source/JavaScriptCore/runtime/ArrayBuffer.cpp:
(JSC::ArrayBuffer::createAdopted):
(JSC::ArrayBuffer::createFromBytes):
* Source/JavaScriptCore/runtime/ArrayBuffer.h:
(JSC::ArrayBuffer::createFromBytes):

Canonical link: https://commits.webkit.org/279423@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