Bug 271993
| Summary: | CheckedPtr should require FastMalloc, Part 2 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Geoffrey Garen <ggaren> |
| Component: | DOM | Assignee: | 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
...
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/125737157>
Geoffrey Garen
Pull request: https://github.com/WebKit/WebKit/pull/26701
EWS
Committed 277020@main (8b7d41505065): <https://commits.webkit.org/277020@main>
Reviewed commits have been landed. Closing PR #26701 and removing active labels.
Diego Pino
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
Re-opening for pull request https://github.com/webkit/webkit/pull/26836
EWS
Committed 277053@main (cd9be0fded51): <https://commits.webkit.org/277053@main>
Reviewed commits have been landed. Closing PR #26836 and removing active labels.