Index: webrtc/base/asyncsocket.cc |
diff --git a/webrtc/base/asyncsocket.cc b/webrtc/base/asyncsocket.cc |
index 089802e018162197df7e5779859e657393e2cb5c..873badc81812b493f79449d9500d50493fd89aa9 100644 |
--- a/webrtc/base/asyncsocket.cc |
+++ b/webrtc/base/asyncsocket.cc |
@@ -9,6 +9,7 @@ |
*/ |
#include "webrtc/base/asyncsocket.h" |
+#include "webrtc/base/checks.h" |
namespace rtc { |
@@ -27,7 +28,7 @@ AsyncSocketAdapter::~AsyncSocketAdapter() { |
} |
void AsyncSocketAdapter::Attach(AsyncSocket* socket) { |
- ASSERT(!socket_); |
+ RTC_DCHECK(!socket_); |
socket_ = socket; |
if (socket_) { |
socket_->SignalConnectEvent.connect(this, |