[webkit-changes] [WebKit/WebKit] 73bef3: Improve WTF_ALLOW_UNSAFE_BUFFER_USAGE macro usage
Chris Dumez
noreply at github.com
Sun Dec 29 20:22:06 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 73bef3bfa1a993dd2e9abc5b8c64f018bfb6f4f8
https://github.com/WebKit/WebKit/commit/73bef3bfa1a993dd2e9abc5b8c64f018bfb6f4f8
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-12-29 (Sun, 29 Dec 2024)
Changed paths:
M Source/WTF/wtf/glib/ChassisType.cpp
M Source/WTF/wtf/glib/SocketConnection.cpp
M Source/WebCore/Modules/mediastream/RTCIceCandidateFields.cpp
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCCertificateGenerator.cpp
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.h
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCObservers.h
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.h
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.cpp
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.h
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp
M Source/WebCore/PAL/pal/PALSwift.h
M Source/WebCore/PAL/pal/spi/cocoa/CoreCryptoSPI.h
M Source/WebCore/PAL/pal/spi/cocoa/DataDetectorsCoreSPI.h
M Source/WebCore/platform/cocoa/SharedVideoFrameInfo.mm
M Source/WebCore/platform/graphics/Color.h
M Source/WebCore/platform/graphics/FontPlatformData.h
M Source/WebCore/platform/graphics/FontRenderOptions.h
M Source/WebCore/platform/graphics/PlatformColorSpace.h
M Source/WebCore/platform/graphics/PlatformImage.h
M Source/WebCore/platform/graphics/cv/VideoFrameCV.mm
M Source/WebCore/platform/graphics/egl/GLContext.cpp
M Source/WebCore/platform/graphics/skia/PatternSkia.cpp
M Source/WebCore/platform/libwebrtc/LibWebRTCVPXVideoEncoder.cpp
M Source/WebCore/platform/mediastream/RealtimeIncomingAudioSource.h
M Source/WebCore/platform/mediastream/RealtimeIncomingVideoSource.h
M Source/WebCore/platform/mediastream/RealtimeOutgoingAudioSource.h
M Source/WebCore/platform/mediastream/RealtimeOutgoingVideoSource.h
M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCAudioModule.h
M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCDTMFSenderBackend.h
M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCDav1dDecoder.cpp
M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCDav1dDecoder.h
M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp
M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.h
M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderCocoa.cpp
M Source/WebCore/platform/mediastream/libwebrtc/VideoFrameLibWebRTC.h
M Source/WebCore/platform/video-codecs/cocoa/WebRTCVideoDecoder.mm
M Source/WebCore/testing/MockLibWebRTCPeerConnection.h
M Source/WebKit/UIProcess/gtk/DisplayX11.cpp
M Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.h
Log Message:
-----------
Improve WTF_ALLOW_UNSAFE_BUFFER_USAGE macro usage
https://bugs.webkit.org/show_bug.cgi?id=285235
Reviewed by Darin Adler.
Use WTF_IGNORE_WARNINGS_IN_THIRD_PARTY_CODE_* where possible and
add comments for port-specific WTF_ALLOW_UNSAFE_BUFFER_USAGE to
facilitate identification.
* Source/WTF/wtf/glib/ChassisType.cpp:
(WTF::readMachineInfoChassisType):
* Source/WTF/wtf/glib/SocketConnection.cpp:
(WTF::SocketConnection::read):
(WTF::SocketConnection::readMessage):
(WTF::SocketConnection::sendMessage):
(WTF::SocketConnection::write):
* Source/WebCore/Modules/mediastream/RTCIceCandidateFields.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCCertificateGenerator.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCObservers.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp:
* Source/WebCore/PAL/pal/PALSwift.h:
* Source/WebCore/PAL/pal/spi/cocoa/CoreCryptoSPI.h:
* Source/WebCore/PAL/pal/spi/cocoa/DataDetectorsCoreSPI.h:
* Source/WebCore/platform/cocoa/SharedVideoFrameInfo.mm:
* Source/WebCore/platform/graphics/Color.h:
* Source/WebCore/platform/graphics/FontPlatformData.h:
* Source/WebCore/platform/graphics/FontRenderOptions.h:
* Source/WebCore/platform/graphics/PlatformColorSpace.h:
* Source/WebCore/platform/graphics/PlatformImage.h:
* Source/WebCore/platform/graphics/cv/VideoFrameCV.mm:
* Source/WebCore/platform/graphics/egl/GLContext.cpp:
(WebCore::GLContext::getEGLConfig):
(WebCore::GLContext::createContextForEGLVersion):
(WebCore::GLContext::isExtensionSupported):
* Source/WebCore/platform/graphics/skia/PatternSkia.cpp:
* Source/WebCore/platform/libwebrtc/LibWebRTCVPXVideoEncoder.cpp:
* Source/WebCore/platform/mediastream/RealtimeIncomingAudioSource.h:
* Source/WebCore/platform/mediastream/RealtimeIncomingVideoSource.h:
* Source/WebCore/platform/mediastream/RealtimeOutgoingAudioSource.h:
* Source/WebCore/platform/mediastream/RealtimeOutgoingVideoSource.h:
* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCAudioModule.h:
* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCDTMFSenderBackend.h:
* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCDav1dDecoder.cpp:
* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCDav1dDecoder.h:
* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:
* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.h:
* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderCocoa.cpp:
* Source/WebCore/platform/mediastream/libwebrtc/VideoFrameLibWebRTC.h:
* Source/WebCore/platform/video-codecs/cocoa/WebRTCVideoDecoder.mm:
* Source/WebCore/testing/MockLibWebRTCPeerConnection.h:
* Source/WebKit/UIProcess/gtk/DisplayX11.cpp:
(WebKit::Display::accessibilityBusAddressX11 const):
* Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.h:
Canonical link: https://commits.webkit.org/288326@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