Skip to content

Commit

Permalink
[GCC] LTO link failure in RTCDataChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
philn committed Feb 20, 2025
1 parent 8270305 commit 9e054e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/WebCore/Modules/mediastream/RTCDataChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ RTCDataChannel::RTCDataChannel(ScriptExecutionContext& context, std::unique_ptr<
{
}

RTCDataChannel::~RTCDataChannel() = default;

std::optional<unsigned short> RTCDataChannel::id() const
{
if (!m_options.id && m_handler)
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/Modules/mediastream/RTCDataChannel.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class RTCDataChannel final : public RefCounted<RTCDataChannel>, public ActiveDOM
public:
static Ref<RTCDataChannel> create(ScriptExecutionContext&, std::unique_ptr<RTCDataChannelHandler>&&, String&&, RTCDataChannelInit&&, RTCDataChannelState);
static Ref<RTCDataChannel> create(ScriptExecutionContext&, RTCDataChannelIdentifier, String&&, RTCDataChannelInit&&, RTCDataChannelState);
WEBCORE_EXPORT virtual ~RTCDataChannel();

bool ordered() const { return *m_options.ordered; }
std::optional<unsigned short> maxPacketLifeTime() const { return m_options.maxPacketLifeTime; }
Expand Down

0 comments on commit 9e054e0

Please sign in to comment.