Index: webrtc/base/socketaddress.cc |
diff --git a/webrtc/base/socketaddress.cc b/webrtc/base/socketaddress.cc |
index c5fd798cb11a2dc6db23e0cd2079b1036b96d0fa..c39c4dae2cc2f84ee94414221b852b22ecd5c79b 100644 |
--- a/webrtc/base/socketaddress.cc |
+++ b/webrtc/base/socketaddress.cc |
@@ -28,6 +28,7 @@ |
#include <sstream> |
#include "webrtc/base/byteorder.h" |
+#include "webrtc/base/checks.h" |
#include "webrtc/base/common.h" |
#include "webrtc/base/logging.h" |
#include "webrtc/base/nethelpers.h" |
@@ -120,7 +121,7 @@ void SocketAddress::SetResolvedIP(const IPAddress& ip) { |
} |
void SocketAddress::SetPort(int port) { |
- ASSERT((0 <= port) && (port < 65536)); |
+ RTC_DCHECK((0 <= port) && (port < 65536)); |
port_ = static_cast<uint16_t>(port); |
} |