[webkit-changes] [WebKit/WebKit] b9c246: Reduce WTF_ALLOW_UNSAFE_BUFFER_USAGE usage in Sour...

Chris Dumez noreply at github.com
Tue Jan 14 09:20:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b9c2462cf0d1997bf3a7bc7382c62cf8a265c359
      https://github.com/WebKit/WebKit/commit/b9c2462cf0d1997bf3a7bc7382c62cf8a265c359
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M Source/WebCore/platform/cocoa/CoreVideoSoftLink.h
    M Source/WebCore/platform/cocoa/DragImageCocoa.mm
    M Source/WebCore/platform/cocoa/SharedBufferCocoa.mm
    M Source/WebCore/platform/cocoa/SharedVideoFrameInfo.mm
    M Source/WebCore/platform/graphics/cv/CVUtilities.mm
    M Source/WebCore/platform/graphics/cv/VideoFrameCV.mm

  Log Message:
  -----------
  Reduce WTF_ALLOW_UNSAFE_BUFFER_USAGE usage in Source/WebCore/platform/cocoa
https://bugs.webkit.org/show_bug.cgi?id=285897

Reviewed by Geoffrey Garen.

* Source/WebCore/platform/cocoa/CoreVideoSoftLink.h:
(WebCore::CVPixelBufferGetSpanOfPlane):
* Source/WebCore/platform/cocoa/DragImageCocoa.mm:
* Source/WebCore/platform/cocoa/SharedBufferCocoa.mm:
(WebCore::DataSegment::iterate const):
* Source/WebCore/platform/cocoa/SharedVideoFrameInfo.mm:
(WebCore::copyToCVPixelBufferPlane):
(WebCore::SharedVideoFrameInfo::writePixelBuffer):
* Source/WebCore/platform/graphics/cv/CVUtilities.mm:
(WebCore::createBlackPixelBuffer):
* Source/WebCore/platform/graphics/cv/VideoFrameCV.mm:
(WebCore::copyToCVPixelBufferPlane):
(WebCore::VideoFrame::createNV12):
(WebCore::VideoFrame::createRGBA):
(WebCore::VideoFrame::createBGRA):
(WebCore::copyRGBData):
(WebCore::copyNV12):
(WebCore::copyI420OrI420A):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list