diff --git a/webrtc/p2p/base/dtlstransportchannel.h b/webrtc/p2p/base/dtlstransportchannel.h index 68bf4c00d2..2090759aad 100644 --- a/webrtc/p2p/base/dtlstransportchannel.h +++ b/webrtc/p2p/base/dtlstransportchannel.h @@ -199,7 +199,7 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl { channel_->OnCandidate(candidate); } - void SetReceivingTimeout(int receiving_timeout_ms) { + void SetReceivingTimeout(int receiving_timeout_ms) override { channel_->SetReceivingTimeout(receiving_timeout_ms); } diff --git a/webrtc/p2p/base/transportchannelproxy.h b/webrtc/p2p/base/transportchannelproxy.h index 3d55d10694..e39398abe8 100644 --- a/webrtc/p2p/base/transportchannelproxy.h +++ b/webrtc/p2p/base/transportchannelproxy.h @@ -79,7 +79,7 @@ class TransportChannelProxy : public TransportChannel, void OnReadyToSend(TransportChannel* channel); void OnRouteChange(TransportChannel* channel, const Candidate& candidate); - void OnMessage(rtc::Message* message); + void OnMessage(rtc::Message* message) override; typedef std::pair OptionPair; typedef std::vector OptionList;