diff --git a/p2p/base/ice_transport_internal.h b/p2p/base/ice_transport_internal.h index 707c28a255..a0cdbbc78f 100644 --- a/p2p/base/ice_transport_internal.h +++ b/p2p/base/ice_transport_internal.h @@ -282,7 +282,10 @@ class RTC_EXPORT IceTransportInternal : public rtc::PacketTransportInternal { virtual void SetRemoteIceMode(IceMode mode) = 0; virtual void SetIceConfig(const IceConfig& config) = 0; - virtual const IceConfig& config() const = 0; + // Default implementation in order to allow downstream usage deletion. + // TODO: bugs.webrtc.org/367395350 - Make virutal when all downstream + // overrides are gone. + virtual const IceConfig& config() const { RTC_CHECK_NOTREACHED(); } // Start gathering candidates if not already started, or if an ICE restart // occurred.