Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1a981cca81c6b9825b101875b4c59e9ed238425a
https://github.com/WebKit/WebKit/commit/1a981cca81c6b9825b101875b4c59e9ed238425a
Author: Chris Dumez <[email protected]>
Date: 2024-11-01 (Fri, 01 Nov 2024)
Changed paths:
M Source/WTF/wtf/CheckedPtr.h
M Source/WTF/wtf/CheckedRef.h
M Source/WTF/wtf/FastMalloc.h
M Source/WTF/wtf/TypeTraits.h
M Source/WebCore/Modules/badge/WorkerBadgeProxy.h
M Source/WebCore/Modules/speech/SpeechRecognitionCaptureSourceImpl.h
M Source/WebCore/Modules/webaudio/AudioWorkletMessagingProxy.h
M Source/WebCore/dom/PendingScriptClient.h
M Source/WebCore/dom/ScriptRunner.h
M Source/WebCore/html/parser/HTMLDocumentParser.h
M Source/WebCore/platform/PopupMenuClient.h
M Source/WebCore/platform/ScrollView.h
M Source/WebCore/platform/ScrollableArea.h
M Source/WebCore/platform/cocoa/PlaybackSessionModel.h
M Source/WebCore/platform/cocoa/PlaybackSessionModelMediaElement.h
M Source/WebCore/platform/cocoa/VideoPresentationModel.h
M Source/WebCore/platform/cocoa/WebAVPlayerLayer.mm
M Source/WebCore/platform/graphics/cocoa/NullPlaybackSessionInterface.h
M Source/WebCore/platform/graphics/cocoa/NullVideoPresentationInterface.h
M Source/WebCore/platform/ios/PlaybackSessionInterfaceIOS.h
M Source/WebCore/platform/ios/PlaybackSessionInterfaceIOS.mm
M Source/WebCore/platform/ios/VideoPresentationInterfaceIOS.h
M Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm
M Source/WebCore/platform/mac/PlaybackSessionInterfaceMac.h
M Source/WebCore/platform/mac/PlaybackSessionInterfaceMac.mm
M Source/WebCore/platform/mac/VideoPresentationInterfaceMac.h
M Source/WebCore/platform/mediarecorder/MediaRecorderPrivate.h
M Source/WebCore/platform/mediastream/AudioTrackPrivateMediaStream.h
M Source/WebCore/platform/mediastream/RealtimeMediaSource.h
M
Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp
M
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingAudioSourceLibWebRTC.h
M
Source/WebCore/platform/mediastream/mac/MediaStreamTrackAudioSourceProviderCocoa.h
M Source/WebCore/platform/mediastream/mac/RealtimeOutgoingAudioSourceCocoa.h
M Source/WebCore/platform/network/curl/CurlMultipartHandleClient.h
M Source/WebCore/platform/network/curl/CurlRequest.h
M Source/WebCore/rendering/RenderLayerScrollableArea.h
M Source/WebCore/rendering/RenderListBox.h
M Source/WebCore/rendering/RenderMenuList.h
M Source/WebCore/rendering/RenderSearchField.h
M Source/WebCore/testing/Internals.h
M Source/WebCore/workers/WorkerDebuggerProxy.h
M Source/WebCore/workers/WorkerLoaderProxy.h
M Source/WebCore/workers/WorkerMessagingProxy.h
M Source/WebCore/workers/WorkerReportingProxy.h
M Source/WebCore/workers/service/context/ServiceWorkerThread.cpp
M Source/WebCore/workers/service/context/ServiceWorkerThreadProxy.h
M Source/WebCore/workers/shared/context/SharedWorkerThreadProxy.h
M Source/WebCore/xml/parser/XMLDocumentParser.h
M Source/WebKit/NetworkProcess/Downloads/DownloadManager.h
M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h
M Source/WebKit/NetworkProcess/NetworkProcess.h
M Source/WebKit/UIProcess/AuxiliaryProcessProxy.h
M Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.h
M Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp
M Source/WebKit/UIProcess/Launcher/ProcessLauncher.h
M Source/WebKit/UIProcess/WebPageProxyInternals.h
M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm
M Source/WebKit/UIProcess/win/WebPopupMenuProxyWin.h
M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.h
M
Source/WebKit/WebProcess/Speech/SpeechRecognitionRealtimeMediaSourceManager.cpp
M Source/WebKit/WebProcess/cocoa/PlaybackSessionManager.h
M Source/WebKit/WebProcess/cocoa/VideoPresentationManager.h
M Tools/TestWebKitAPI/Tests/WTF/CheckedPtr.cpp
M Tools/TestWebKitAPI/Tests/WTF/CheckedRef.cpp
M Tools/TestWebKitAPI/Tests/WebCore/curl/CurlMultipartHandleTests.cpp
Log Message:
-----------
Rename some of the CanMakeCheckedPtrBase member functions to make their names
less generic
https://bugs.webkit.org/show_bug.cgi?id=282459
Reviewed by Ryosuke Niwa.
Rename some of the CanMakeCheckedPtrBase member functions to make their
names less generic. This is important since their existence is checked
by the `HasCheckedPtrMethods` type trait and given that many classes
need to define their own implementation.
* Source/WTF/wtf/CheckedPtr.h:
(WTF::CheckedPtr::refIfNotNull):
(WTF::CheckedPtr::derefIfNotNull):
* Source/WTF/wtf/CheckedRef.h:
(WTF::CheckedRef::~CheckedRef):
(WTF::CheckedRef::CheckedRef):
(WTF::CheckedRef::ptr const):
(WTF::CanMakeCheckedPtrBase::checkedPtrCount const):
(WTF::CanMakeCheckedPtrBase::incrementCheckedPtrCount const):
(WTF::CanMakeCheckedPtrBase::decrementCheckedPtrCount const):
(WTF::CanMakeCheckedPtrBase::checkedPtrCountWithoutThreadCheck const):
(WTF::CanMakeCheckedPtrBase::ptrCount const): Deleted.
(WTF::CanMakeCheckedPtrBase::incrementPtrCount const): Deleted.
(WTF::CanMakeCheckedPtrBase::decrementPtrCount const): Deleted.
(WTF::CanMakeCheckedPtrBase::ptrCountWithoutThreadCheck const): Deleted.
* Source/WTF/wtf/FastMalloc.h:
* Source/WTF/wtf/TypeTraits.h:
* Source/WebCore/Modules/badge/WorkerBadgeProxy.h:
* Source/WebCore/Modules/speech/SpeechRecognitionCaptureSourceImpl.h:
* Source/WebCore/Modules/webaudio/AudioWorkletMessagingProxy.h:
(WebCore::AudioWorkletMessagingProxy::checkedPtrCount const):
(WebCore::AudioWorkletMessagingProxy::checkedPtrCountWithoutThreadCheck const):
(WebCore::AudioWorkletMessagingProxy::incrementCheckedPtrCount const):
(WebCore::AudioWorkletMessagingProxy::decrementCheckedPtrCount const):
(WebCore::AudioWorkletMessagingProxy::ptrCount const): Deleted.
(WebCore::AudioWorkletMessagingProxy::ptrCountWithoutThreadCheck const):
Deleted.
(WebCore::AudioWorkletMessagingProxy::incrementPtrCount const): Deleted.
(WebCore::AudioWorkletMessagingProxy::decrementPtrCount const): Deleted.
* Source/WebCore/dom/PendingScriptClient.h:
* Source/WebCore/dom/ScriptRunner.h:
* Source/WebCore/html/parser/HTMLDocumentParser.h:
* Source/WebCore/platform/PopupMenuClient.h:
* Source/WebCore/platform/ScrollView.h:
* Source/WebCore/platform/ScrollableArea.h:
* Source/WebCore/platform/cocoa/PlaybackSessionModel.h:
* Source/WebCore/platform/cocoa/PlaybackSessionModelMediaElement.h:
* Source/WebCore/platform/cocoa/VideoPresentationModel.h:
* Source/WebCore/platform/cocoa/WebAVPlayerLayer.mm:
* Source/WebCore/platform/graphics/cocoa/NullPlaybackSessionInterface.h:
* Source/WebCore/platform/graphics/cocoa/NullVideoPresentationInterface.h:
* Source/WebCore/platform/ios/PlaybackSessionInterfaceIOS.h:
* Source/WebCore/platform/ios/PlaybackSessionInterfaceIOS.mm:
(WebCore::PlaybackSessionInterfaceIOS::checkedPtrCount const):
(WebCore::PlaybackSessionInterfaceIOS::checkedPtrCountWithoutThreadCheck const):
(WebCore::PlaybackSessionInterfaceIOS::incrementCheckedPtrCount const):
(WebCore::PlaybackSessionInterfaceIOS::decrementCheckedPtrCount const):
(WebCore::PlaybackSessionInterfaceIOS::ptrCount const): Deleted.
(WebCore::PlaybackSessionInterfaceIOS::ptrCountWithoutThreadCheck const):
Deleted.
(WebCore::PlaybackSessionInterfaceIOS::incrementPtrCount const): Deleted.
(WebCore::PlaybackSessionInterfaceIOS::decrementPtrCount const): Deleted.
* Source/WebCore/platform/ios/VideoPresentationInterfaceIOS.h:
* Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm:
* Source/WebCore/platform/mac/PlaybackSessionInterfaceMac.h:
* Source/WebCore/platform/mac/PlaybackSessionInterfaceMac.mm:
(WebCore::PlaybackSessionInterfaceMac::checkedPtrCount const):
(WebCore::PlaybackSessionInterfaceMac::checkedPtrCountWithoutThreadCheck const):
(WebCore::PlaybackSessionInterfaceMac::incrementCheckedPtrCount const):
(WebCore::PlaybackSessionInterfaceMac::decrementCheckedPtrCount const):
(WebCore::PlaybackSessionInterfaceMac::ptrCount const): Deleted.
(WebCore::PlaybackSessionInterfaceMac::ptrCountWithoutThreadCheck const):
Deleted.
(WebCore::PlaybackSessionInterfaceMac::incrementPtrCount const): Deleted.
(WebCore::PlaybackSessionInterfaceMac::decrementPtrCount const): Deleted.
* Source/WebCore/platform/mac/VideoPresentationInterfaceMac.h:
* Source/WebCore/platform/mediarecorder/MediaRecorderPrivate.h:
* Source/WebCore/platform/mediastream/AudioTrackPrivateMediaStream.h:
* Source/WebCore/platform/mediastream/RealtimeMediaSource.h:
* Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:
*
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingAudioSourceLibWebRTC.h:
*
Source/WebCore/platform/mediastream/mac/MediaStreamTrackAudioSourceProviderCocoa.h:
* Source/WebCore/platform/mediastream/mac/RealtimeOutgoingAudioSourceCocoa.h:
* Source/WebCore/platform/network/curl/CurlMultipartHandleClient.h:
* Source/WebCore/platform/network/curl/CurlRequest.h:
* Source/WebCore/rendering/RenderLayerScrollableArea.h:
* Source/WebCore/rendering/RenderListBox.h:
* Source/WebCore/rendering/RenderMenuList.h:
* Source/WebCore/rendering/RenderSearchField.h:
* Source/WebCore/testing/Internals.h:
* Source/WebCore/workers/WorkerDebuggerProxy.h:
* Source/WebCore/workers/WorkerLoaderProxy.h:
* Source/WebCore/workers/WorkerMessagingProxy.h:
* Source/WebCore/workers/WorkerReportingProxy.h:
* Source/WebCore/workers/service/context/ServiceWorkerThread.cpp:
* Source/WebCore/workers/service/context/ServiceWorkerThreadProxy.h:
* Source/WebCore/workers/shared/context/SharedWorkerThreadProxy.h:
* Source/WebCore/xml/parser/XMLDocumentParser.h:
* Source/WebKit/NetworkProcess/Downloads/DownloadManager.h:
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h:
* Source/WebKit/NetworkProcess/NetworkProcess.h:
* Source/WebKit/UIProcess/AuxiliaryProcessProxy.h:
* Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.h:
* Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp:
* Source/WebKit/UIProcess/Launcher/ProcessLauncher.h:
* Source/WebKit/UIProcess/WebPageProxyInternals.h:
* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm:
* Source/WebKit/UIProcess/win/WebPopupMenuProxyWin.h:
* Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.h:
*
Source/WebKit/WebProcess/Speech/SpeechRecognitionRealtimeMediaSourceManager.cpp:
* Source/WebKit/WebProcess/cocoa/PlaybackSessionManager.h:
* Source/WebKit/WebProcess/cocoa/VideoPresentationManager.h:
* Tools/TestWebKitAPI/Tests/WTF/CheckedPtr.cpp:
(TestWebKitAPI::TEST(WTF_CheckedPtr, Basic)):
(TestWebKitAPI::TEST(WTF_CheckedPtr, CheckedRef)):
(TestWebKitAPI::TEST(WTF_CheckedPtr, DerivedClass)):
(TestWebKitAPI::TEST(WTF_CheckedPtr, HashSet)):
(TestWebKitAPI::TEST(WTF_CheckedPtr, ReferenceCountLimit)):
* Tools/TestWebKitAPI/Tests/WTF/CheckedRef.cpp:
* Tools/TestWebKitAPI/Tests/WebCore/curl/CurlMultipartHandleTests.cpp:
Canonical link: https://commits.webkit.org/286041@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