Index: webrtc/p2p/base/asyncstuntcpsocket.cc |
diff --git a/webrtc/p2p/base/asyncstuntcpsocket.cc b/webrtc/p2p/base/asyncstuntcpsocket.cc |
index 444f06146a461c5146ba2918507c3e39f7ccec8d..5f693cabcb7b5b0631aecbb51e2f19025a082e18 100644 |
--- a/webrtc/p2p/base/asyncstuntcpsocket.cc |
+++ b/webrtc/p2p/base/asyncstuntcpsocket.cc |
@@ -13,6 +13,7 @@ |
#include <string.h> |
#include "webrtc/p2p/base/stun.h" |
+#include "webrtc/base/checks.h" |
#include "webrtc/base/common.h" |
#include "webrtc/base/logging.h" |
@@ -68,7 +69,7 @@ int AsyncStunTCPSocket::Send(const void *pv, size_t cb, |
AppendToOutBuffer(pv, cb); |
- ASSERT(pad_bytes < 4); |
+ RTC_DCHECK(pad_bytes < 4); |
char padding[4] = {0}; |
AppendToOutBuffer(padding, pad_bytes); |