Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: webrtc/base/asyncsocket.cc

Issue 2620303003: Replace ASSERT by RTC_DCHECK in all non-test code. (Closed)
Patch Set: Address final nits. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/applefilesystem.mm ('k') | webrtc/base/asyncudpsocket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « webrtc/base/applefilesystem.mm ('k') | webrtc/base/asyncudpsocket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698