Skip to content

Commit 0081a8f

Browse files
committed
Build fix LTO
1 parent 0ac2e6f commit 0081a8f

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Source/WebCore/Modules/mediastream/RTCDataChannel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ RTCDataChannel::RTCDataChannel(ScriptExecutionContext& context, std::unique_ptr<
104104
{
105105
}
106106

107+
RTCDataChannel::~RTCDataChannel() = default;
108+
107109
std::optional<unsigned short> RTCDataChannel::id() const
108110
{
109111
if (!m_options.id && m_handler)

Source/WebCore/Modules/mediastream/RTCDataChannel.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ class RTCDataChannel final : public RefCounted<RTCDataChannel>, public ActiveDOM
8989
using RefCounted<RTCDataChannel>::deref;
9090

9191
WEBCORE_EXPORT static std::unique_ptr<RTCDataChannelHandler> handlerFromIdentifier(RTCDataChannelLocalIdentifier);
92+
virtual ~RTCDataChannel();
9293

9394
private:
9495
RTCDataChannel(ScriptExecutionContext&, std::unique_ptr<RTCDataChannelHandler>&&, String&&, RTCDataChannelInit&&);

0 commit comments

Comments
 (0)