[webkit-changes] [WebKit/WebKit] b7b8fa: Adopt more smart pointers in RemoteSourceBufferProxy

Rupin Mittal noreply at github.com
Tue Sep 17 21:58:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b7b8fa7a163976d33d36e2d31208776bafe9baa4
      https://github.com/WebKit/WebKit/commit/b7b8fa7a163976d33d36e2d31208776bafe9baa4
  Author: Rupin Mittal <rupin at apple.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

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

  Log Message:
  -----------
  Adopt more smart pointers in RemoteSourceBufferProxy
https://bugs.webkit.org/show_bug.cgi?id=279797
rdar://136114766

Reviewed by Ryosuke Niwa.

Smart pointer adoption as per the static analyzer.

* Source/WebCore/platform/graphics/SourceBufferPrivateClient.h:
(WebCore::SourceBufferPrivateClient::InitializationSegment::AudioTrackInformation::protectedTrack const):
(WebCore::SourceBufferPrivateClient::InitializationSegment::VideoTrackInformation::protectedTrack const):
(WebCore::SourceBufferPrivateClient::InitializationSegment::TextTrackInformation::protectedTrack const):
* Source/WebKit/GPUProcess/media/RemoteSourceBufferProxy.cpp:
(WebKit::RemoteSourceBufferProxy::sourceBufferPrivateDidReceiveInitializationSegment):
(WebKit::RemoteSourceBufferProxy::sourceBufferPrivateHighestPresentationTimestampChanged):
(WebKit::RemoteSourceBufferProxy::sourceBufferPrivateDurationChanged):
(WebKit::RemoteSourceBufferProxy::sourceBufferPrivateBufferedChanged):
(WebKit::RemoteSourceBufferProxy::sourceBufferPrivateDidDropSample):
(WebKit::RemoteSourceBufferProxy::sourceBufferPrivateDidReceiveRenderingError):
(WebKit::RemoteSourceBufferProxy::sourceBufferPrivateEvictionDataChanged):
(WebKit::RemoteSourceBufferProxy::append):
(WebKit::RemoteSourceBufferProxy::evictCodedFrames):
(WebKit::RemoteSourceBufferProxy::shutdown):

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