[webkit-changes] [WebKit/WebKit] a1a44f: AudioSessionRoutingArbitratorProxy and LegacyCusto...
Ryosuke Niwa
noreply at github.com
Wed Sep 6 14:30:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a1a44f130550770534f40e4fd0a515948f7f57b7
https://github.com/WebKit/WebKit/commit/a1a44f130550770534f40e4fd0a515948f7f57b7
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2023-09-06 (Wed, 06 Sep 2023)
Changed paths:
M Source/WebKit/UIProcess/Media/AudioSessionRoutingArbitratorProxy.cpp
M Source/WebKit/UIProcess/Media/AudioSessionRoutingArbitratorProxy.h
M Source/WebKit/UIProcess/Media/cocoa/AudioSessionRoutingArbitratorProxyCocoa.mm
M Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.cpp
M Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.h
Log Message:
-----------
AudioSessionRoutingArbitratorProxy and LegacyCustomProtocolManagerProxy should use CheckedRef instead of raw reference
https://bugs.webkit.org/show_bug.cgi?id=260951
Reviewed by Jer Noble.
Replaced the use of raw pointers by equivalent smart pointers as found by clang static analyzer.
* Source/WebKit/UIProcess/Media/AudioSessionRoutingArbitratorProxy.cpp:
(WebKit::AudioSessionRoutingArbitratorProxy::protectedProcess):
(WebKit::AudioSessionRoutingArbitratorProxy::logger):
* Source/WebKit/UIProcess/Media/AudioSessionRoutingArbitratorProxy.h:
* Source/WebKit/UIProcess/Media/cocoa/AudioSessionRoutingArbitratorProxyCocoa.mm:
(WebKit::AudioSessionRoutingArbitratorProxy::AudioSessionRoutingArbitratorProxy):
(WebKit::AudioSessionRoutingArbitratorProxy::~AudioSessionRoutingArbitratorProxy):
* Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.cpp:
(WebKit::LegacyCustomProtocolManagerProxy::LegacyCustomProtocolManagerProxy):
(WebKit::LegacyCustomProtocolManagerProxy::protectedProcess):
(WebKit::LegacyCustomProtocolManagerProxy::~LegacyCustomProtocolManagerProxy):
(WebKit::LegacyCustomProtocolManagerProxy::startLoading):
(WebKit::LegacyCustomProtocolManagerProxy::stopLoading):
(WebKit::LegacyCustomProtocolManagerProxy::invalidate):
(WebKit::LegacyCustomProtocolManagerProxy::wasRedirectedToRequest):
(WebKit::LegacyCustomProtocolManagerProxy::didReceiveResponse):
(WebKit::LegacyCustomProtocolManagerProxy::didLoadData):
(WebKit::LegacyCustomProtocolManagerProxy::didFailWithError):
(WebKit::LegacyCustomProtocolManagerProxy::didFinishLoading):
* Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.h:
Canonical link: https://commits.webkit.org/267692@main
More information about the webkit-changes
mailing list