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

Unified Diff: webrtc/base/socketpool.cc

Issue 2625003003: Replace ASSERT(false) by RTC_NOTREACHED(). (Closed)
Patch Set: 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/socketadapters.cc ('k') | webrtc/base/stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/socketpool.cc
diff --git a/webrtc/base/socketpool.cc b/webrtc/base/socketpool.cc
index 8e61cc3134427aa928a221487927fdcd4841bded..cdd54bb659e62fa12f5c2837d798603708d5ad74 100644
--- a/webrtc/base/socketpool.cc
+++ b/webrtc/base/socketpool.cc
@@ -11,6 +11,7 @@
#include <iomanip>
#include "webrtc/base/asyncsocket.h"
+#include "webrtc/base/checks.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/socketfactory.h"
#include "webrtc/base/socketpool.h"
@@ -82,7 +83,7 @@ void StreamCache::ReturnConnectedStream(StreamInterface* stream) {
return;
}
}
- ASSERT(false);
+ RTC_NOTREACHED();
}
void StreamCache::OnStreamEvent(StreamInterface* stream, int events, int err) {
@@ -103,7 +104,7 @@ void StreamCache::OnStreamEvent(StreamInterface* stream, int events, int err) {
return;
}
}
- ASSERT(false);
+ RTC_NOTREACHED();
}
//////////////////////////////////////////////////////////////////////
« no previous file with comments | « webrtc/base/socketadapters.cc ('k') | webrtc/base/stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698