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

Unified Diff: webrtc/base/asyncudpsocket.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/asyncsocket.cc ('k') | webrtc/base/diskcache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/asyncudpsocket.cc
diff --git a/webrtc/base/asyncudpsocket.cc b/webrtc/base/asyncudpsocket.cc
index 232d264ab10c74f1ccd5fc7606d4787dc0acf420..3ce629cc0fe5fbc11766b0dd3e30e03b321167b9 100644
--- a/webrtc/base/asyncudpsocket.cc
+++ b/webrtc/base/asyncudpsocket.cc
@@ -9,6 +9,7 @@
*/
#include "webrtc/base/asyncudpsocket.h"
+#include "webrtc/base/checks.h"
#include "webrtc/base/logging.h"
namespace rtc {
@@ -99,7 +100,7 @@ void AsyncUDPSocket::SetError(int error) {
}
void AsyncUDPSocket::OnReadEvent(AsyncSocket* socket) {
- ASSERT(socket_.get() == socket);
+ RTC_DCHECK(socket_.get() == socket);
SocketAddress remote_addr;
int64_t timestamp;
« no previous file with comments | « webrtc/base/asyncsocket.cc ('k') | webrtc/base/diskcache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698