Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7d3dcb5289b05797610da7432b2f1ca0393570c3
      
https://github.com/WebKit/WebKit/commit/7d3dcb5289b05797610da7432b2f1ca0393570c3
  Author: Ryosuke Niwa <[email protected]>
  Date:   2024-10-07 (Mon, 07 Oct 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/SourceBufferPrivateClient.h
    M Source/WebKit/GPUProcess/media/RemoteSourceBufferProxy.cpp
    M Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations

  Log Message:
  -----------
  Fix smart pointer warnings in 
RemoteSourceBufferProxy::createInitializationSegmentInfo
https://bugs.webkit.org/show_bug.cgi?id=280936

Reviewed by Chris Dumez.

The warnings were emitted because static analyzer can't resolve the type of the 
"auto" lambda arguments.
Explicitly specify the argument type to fix this.

Also protect the media description as it was warned by the static analyzer once 
the type was specified.

* Source/WebCore/platform/graphics/SourceBufferPrivateClient.h:
(WebCore::SourceBufferPrivateClient::InitializationSegment::AudioTrackInformation::protectedDescription
 const):
(WebCore::SourceBufferPrivateClient::InitializationSegment::VideoTrackInformation::protectedDescription
 const):
(WebCore::SourceBufferPrivateClient::InitializationSegment::TextTrackInformation::protectedDescription
 const):
* Source/WebKit/GPUProcess/media/RemoteSourceBufferProxy.cpp:
(WebKit::RemoteSourceBufferProxy::createInitializationSegmentInfo):
* Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:

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