[webkit-changes] [WebKit/WebKit] b5c665: Adopt more smart pointers in RemoteCDMInstanceProx...
Rupin Mittal
noreply at github.com
Tue Sep 17 09:37:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b5c6650e0ec320d8cb4ce92e14d45266cc65ca87
https://github.com/WebKit/WebKit/commit/b5c6650e0ec320d8cb4ce92e14d45266cc65ca87
Author: Rupin Mittal <rupin at apple.com>
Date: 2024-09-17 (Tue, 17 Sep 2024)
Changed paths:
M Source/WebKit/GPUProcess/media/RemoteCDMInstanceProxy.cpp
M Source/WebKit/GPUProcess/media/RemoteVideoFrameObjectHeap.cpp
M Source/WebKit/WebProcess/GPU/webrtc/RemoteVideoFrameObjectHeapProxy.h
M Source/WebKit/WebProcess/GPU/webrtc/RemoteVideoFrameObjectHeapProxyProcessor.cpp
Log Message:
-----------
Adopt more smart pointers in RemoteCDMInstanceProxy and RemoteVideoFrameObjectHeap
https://bugs.webkit.org/show_bug.cgi?id=279785
rdar://136103868
Reviewed by Chris Dumez.
Smart pointer adoption as per the static analyzer.
* Source/WebKit/GPUProcess/media/RemoteCDMInstanceProxy.cpp:
(WebKit::RemoteCDMInstanceProxy::unrequestedInitializationDataReceived):
* Source/WebKit/GPUProcess/media/RemoteVideoFrameObjectHeap.cpp:
(WebKit::remoteVideoFrameObjectHeapQueueSingleton):
(WebKit::RemoteVideoFrameObjectHeap::create):
(WebKit::RemoteVideoFrameObjectHeap::releaseVideoFrame):
(WebKit::RemoteVideoFrameObjectHeap::getVideoFrameBuffer):
(WebKit::RemoteVideoFrameObjectHeap::pixelBuffer):
(WebKit::remoteVideoFrameObjectHeapQueue): Deleted.
* Source/WebKit/WebProcess/GPU/webrtc/RemoteVideoFrameObjectHeapProxy.h:
* Source/WebKit/WebProcess/GPU/webrtc/RemoteVideoFrameObjectHeapProxyProcessor.cpp:
(WebKit::RemoteVideoFrameObjectHeapProxyProcessor::gpuProcessConnectionDidClose):
(WebKit::RemoteVideoFrameObjectHeapProxyProcessor::getNativeImage):
Canonical link: https://commits.webkit.org/283775@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