diff --git a/mojo/core/node_channel.cc b/mojo/core/node_channel.cc index 57e89f7d867745..48c91430a16b5b 100644 --- a/mojo/core/node_channel.cc +++ b/mojo/core/node_channel.cc @@ -873,6 +873,11 @@ void NodeChannel::OfferChannelUpgrade() { #endif } +void NodeChannel::Release() { + recordreplay::Assert("[RUN-1050-1766] NodeChannel::Release"); + base::RefCountedDeleteOnSequence::Release(); +} + uint64_t NodeChannel::RemoteCapabilities() const { return remote_capabilities_; } diff --git a/mojo/core/node_channel.h b/mojo/core/node_channel.h index 9ac5ee72132aa4..ecf46f74387e14 100644 --- a/mojo/core/node_channel.h +++ b/mojo/core/node_channel.h @@ -177,6 +177,8 @@ class MOJO_SYSTEM_IMPL_EXPORT NodeChannel void OfferChannelUpgrade(); + void Release(); + private: friend class base::RefCountedDeleteOnSequence; friend class base::DeleteHelper;