Index: webrtc/p2p/base/p2ptransportchannel.cc |
diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc |
index 6071e079b357def1922e31f12b0142150ddb97da..74f53c7ed4789050671644b4170cfae0864cd705 100644 |
--- a/webrtc/p2p/base/p2ptransportchannel.cc |
+++ b/webrtc/p2p/base/p2ptransportchannel.cc |
@@ -15,6 +15,7 @@ |
#include <set> |
#include "webrtc/api/peerconnectioninterface.h" |
+#include "webrtc/base/checks.h" |
#include "webrtc/base/common.h" |
#include "webrtc/base/crc32.h" |
#include "webrtc/base/logging.h" |
@@ -662,7 +663,7 @@ void P2PTransportChannel::OnUnknownAddress( |
<< "candidate: " << remote_candidate.ToString(); |
return; |
} else { |
- ASSERT(false); |
+ RTC_NOTREACHED(); |
port->SendBindingErrorResponse(stun_msg, address, |
STUN_ERROR_SERVER_ERROR, |
STUN_ERROR_REASON_SERVER_ERROR); |
@@ -1497,7 +1498,7 @@ void P2PTransportChannel::OnMessage(rtc::Message *pmsg) { |
OnRegatherOnFailedNetworks(); |
break; |
default: |
- ASSERT(false); |
+ RTC_NOTREACHED(); |
break; |
} |
} |