Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 198b50a5a3a8581bcfa48f619e7033d2cdc3dbad
      
https://github.com/WebKit/WebKit/commit/198b50a5a3a8581bcfa48f619e7033d2cdc3dbad
  Author: Philippe Normand <[email protected]>
  Date:   2025-01-15 (Wed, 15 Jan 2025)

  Changed paths:
    M Source/WTF/wtf/MallocSpan.h
    M Source/WebCore/platform/graphics/gstreamer/GstAllocatorFastMalloc.cpp
    M Tools/Scripts/webkitpy/style/checker.py

  Log Message:
  -----------
  [GStreamer] Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in FastMalloc 
allocator
https://bugs.webkit.org/show_bug.cgi?id=285528

Reviewed by Xabier Rodriguez-Calvar.

The allocator was updated to modern WebKit/GObject code style and now stores 
allocated data in a
span.

Co-authored-by: Alicia Boya Garcia <[email protected]>

* Source/WTF/wtf/MallocSpan.h:
(WTF::MallocSpan::tryAlignedMalloc):
* Source/WebCore/platform/graphics/gstreamer/GstAllocatorFastMalloc.cpp:
(gstMemoryFastMallocNew):
(gstAllocatorFastMallocAlloc):
(gstAllocatorFastMallocMemMap):
(gstAllocatorFastMallocMemUnmap):
(gstAllocatorFastMallocMemCopy):
(gstAllocatorFastMallocMemShare):
(gstAllocatorFastMallocMemIsSpan):
(gstAllocatorFastMallocConstructed):
(gst_allocator_fast_malloc_class_init):
(gst_allocator_fast_malloc_init): Deleted.
* Tools/Scripts/webkitpy/style/checker.py:

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