Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a24facd1f7d97b1895f5732489014d346034eb8f
      
https://github.com/WebKit/WebKit/commit/a24facd1f7d97b1895f5732489014d346034eb8f
  Author: Ryosuke Niwa <[email protected]>
  Date:   2025-09-15 (Mon, 15 Sep 2025)

  Changed paths:
    M Source/ThirdParty/ANGLE/Configurations/Base.xcconfig
    M Source/WebCore/Modules/mediastream/RTCRtpTransceiver.h
    M Source/WebCore/Modules/webaudio/DynamicsCompressorNode.h
    M Source/WebCore/css/CSSFontFace.h
    M Source/WebCore/html/track/VideoTrack.h
    M Source/WebCore/loader/icon/IconLoader.cpp
    M Source/WebCore/platform/graphics/GeometryUtilities.cpp
    M 
Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h
    M Source/WebCore/platform/mock/MockRealtimeMediaSourceCenter.cpp
    M Source/WebCore/rendering/RenderListBox.h
    M Source/WebCore/svg/SVGPathByteStreamBuilder.h
    M Source/WebCore/svg/SVGStyleElement.h
    M Source/WebCore/xml/XMLHttpRequest.h
    M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
    M Source/WebGPU/WebGPU/CommandEncoder.h
    M Source/WebGPU/WebGPU/WebGPU.h
    M Source/WebKit/GPUProcess/webrtc/UserMediaCaptureManagerProxy.cpp
    M Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsStore.h

  Log Message:
  -----------
  WebKit doesn't build with clang stable/21.x branch
https://bugs.webkit.org/show_bug.cgi?id=298854

Reviewed by Chris Dumez.

This PR fixes a bunch of compiler warnings in WebKit emitted by clang 
stable/21.x branch.

No new tests since there should be no behavioral change.

* Source/ThirdParty/ANGLE/Configurations/Base.xcconfig: Disable 
nontrivial-memcall and
uninitialized-const-pointer warnings in ANGLE as they result in a compiler 
error.
* Source/WebCore/Modules/mediastream/RTCRtpTransceiver.h: Made the destructor 
non-virtual
since this class is final.
* Source/WebCore/Modules/webaudio/DynamicsCompressorNode.h: Ditto for a member 
function.
* Source/WebCore/css/CSSFontFace.h: Ditto.
* Source/WebCore/html/track/VideoTrack.h: Ditto.
* Source/WebCore/loader/icon/IconLoader.cpp:
(WebCore::IconLoader::notifyFinished): Use unsafeMakeSpan instead of std::span 
constructor
since the latter will result in a warning.
* Source/WebCore/platform/graphics/GeometryUtilities.cpp:
(WebCore::toRelatedAcuteAngle): Simplified the code since angle > 90 || angle < 
180 is
always true.
* 
Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.h:
Removed the unused member variable.
* 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
Made a member function non-virtual since this class is final.
* Source/WebCore/platform/mock/MockRealtimeMediaSourceCenter.cpp: Removed the 
unused
member variable.
* Source/WebCore/rendering/RenderListBox.h: Made a member function non-virtual 
since this
class is final.
* Source/WebCore/svg/SVGPathByteStreamBuilder.h:
(WebCore::SVGPathByteStreamBuilder::writeType): Use asByteSpan instead of 
std::span
constructor since the latter results a warning.
* Source/WebCore/svg/SVGStyleElement.h: Made a member function non-virtual 
since this
class is final.
* Source/WebCore/xml/XMLHttpRequest.h: Ditto.
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp: Removed an unused member 
variable.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp: Ditto.
* Source/WebGPU/WebGPU/CommandEncoder.h: Ditto.
* Source/WebGPU/WebGPU/WebGPU.h:
(wgpuGetComputePassDescriptorTimestampWrites): Replaced 
__attribute__((lifetimebound))
annotation with LIFETIME_BOUND macro and moved it to after the parameter name 
as this
attribute only applies there. Also dropped noescape attribute since the 
parameter does
escape the function via its return value.
(wgpuGetRenderPassDescriptorTimestampWrites): Ditto.
(wgpuGetRenderPassDescriptorColorAttachments): Ditto.
(wgpuGetRenderPassDescriptorDepthSencilAttachment): Ditto.
* Source/WebKit/GPUProcess/webrtc/UserMediaCaptureManagerProxy.cpp: Removed an 
unused
member variable.
* Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsStore.h: Made 
the
destructor non-virtual since this class is final.

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