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

Unified Diff: webrtc/base/socketadapters.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/signalthread.cc ('k') | webrtc/base/socketpool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/socketadapters.cc
diff --git a/webrtc/base/socketadapters.cc b/webrtc/base/socketadapters.cc
index cf7ffb7b839c0615ea3b2406fa87058a7ca8f134..0697c6fd518b4a8bca21638325f7a0f255788eb9 100644
--- a/webrtc/base/socketadapters.cc
+++ b/webrtc/base/socketadapters.cc
@@ -27,6 +27,7 @@
#include <algorithm>
#include "webrtc/base/bytebuffer.h"
+#include "webrtc/base/checks.h"
#include "webrtc/base/common.h"
#include "webrtc/base/httpcommon.h"
#include "webrtc/base/logging.h"
@@ -105,7 +106,7 @@ void BufferedReadAdapter::OnReadEvent(AsyncSocket * socket) {
if (data_len_ >= buffer_size_) {
LOG(INFO) << "Input buffer overflow";
- ASSERT(false);
+ RTC_NOTREACHED();
data_len_ = 0;
}
« no previous file with comments | « webrtc/base/signalthread.cc ('k') | webrtc/base/socketpool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698