Bug 271993

Summary: CheckedPtr should require FastMalloc, Part 2
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: DOMAssignee: Diego Pino <dpino>
Status: RESOLVED FIXED    
Severity: Normal CC: dpino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Geoffrey Garen
Reported 2024-04-01 13:51:09 PDT
...
Attachments
Radar WebKit Bug Importer
Comment 1 2024-04-01 13:51:21 PDT
Geoffrey Garen
Comment 2 2024-04-01 14:41:37 PDT
EWS
Comment 3 2024-04-03 12:52:54 PDT
Committed 277020@main (8b7d41505065): <https://commits.webkit.org/277020@main> Reviewed commits have been landed. Closing PR #26701 and removing active labels.
Diego Pino
Comment 4 2024-04-04 01:31:26 PDT
After this change, the build for GTK-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004 is failing with the following build error: https://build.webkit.org/#/builders/30/builds/8885 ``` FAILED: In file included from ../../../Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingAudioSourceLibWebRTC.cpp:23, from WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-72.cpp:7: ../../../Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingAudioSourceLibWebRTC.h: In static member function ‘static WTF::Ref<WebCore::RealtimeOutgoingAudioSourceLibWebRTC> WebCore::RealtimeOutgoingAudioSourceLibWebRTC::create(WTF::Ref<WebCore::MediaStreamTrackPrivate>&&)’: ../../../Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingAudioSourceLibWebRTC.h:36:93: error: invalid new-expression of abstract class type ‘WebCore::RealtimeOutgoingAudioSourceLibWebRTC’ 36 | return adoptRef(*new RealtimeOutgoingAudioSourceLibWebRTC(WTFMove(audioTrackPrivate))); | ^ ../../../Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingAudioSourceLibWebRTC.h:32:7: note: because the following virtual functions are pure within ‘WebCore::RealtimeOutgoingAudioSourceLibWebRTC’: 32 | class RealtimeOutgoingAudioSourceLibWebRTC final : public RealtimeOutgoingAudioSource { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../Source/WebCore/platform/mediastream/RealtimeIncomingAudioSource.h:36, from ../../../Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingAudioSourceLibWebRTC.h:32, from ../../../Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingAudioSourceLibWebRTC.cpp:31, from WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-72.cpp:5: ../../../Source/WebCore/platform/mediastream/RealtimeMediaSource.h:115:26: note: ‘virtual uint32_t WebCore::RealtimeMediaSource::AudioSampleObserver::ptrCount() const’ 115 | virtual uint32_t ptrCount() const = 0; | ^~~~~~~~ ../../../Source/WebCore/platform/mediastream/RealtimeMediaSource.h:116:22: note: ‘virtual void WebCore::RealtimeMediaSource::AudioSampleObserver::incrementPtrCount() const’ 116 | virtual void incrementPtrCount() const = 0; | ^~~~~~~~~~~~~~~~~ ../../../Source/WebCore/platform/mediastream/RealtimeMediaSource.h:117:22: note: ‘virtual void WebCore::RealtimeMediaSource::AudioSampleObserver::decrementPtrCount() const’ 117 | virtual void decrementPtrCount() const = 0; | ^~~~~~~~~~~~~~~~~ GTK-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004 and WPE-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004 are the only bots that build WebKitGTK and WPE, respectively, with LibWebRTC, that's why this build error was not caught by the EWS bots.
Diego Pino
Comment 5 2024-04-04 01:32:04 PDT
EWS
Comment 6 2024-04-04 08:23:12 PDT
Committed 277053@main (cd9be0fded51): <https://commits.webkit.org/277053@main> Reviewed commits have been landed. Closing PR #26836 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.