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

Unified Diff: webrtc/examples/peerconnection/client/conductor.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/win32socketserver.cc ('k') | webrtc/examples/peerconnection/client/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/peerconnection/client/conductor.cc
diff --git a/webrtc/examples/peerconnection/client/conductor.cc b/webrtc/examples/peerconnection/client/conductor.cc
index 053edf99e11188c8a045a07d3cc023936565f3a9..fbee576f957558d53b3140c612af3b0cf95d278a 100644
--- a/webrtc/examples/peerconnection/client/conductor.cc
+++ b/webrtc/examples/peerconnection/client/conductor.cc
@@ -15,6 +15,7 @@
#include <vector>
#include "webrtc/api/test/fakeconstraints.h"
+#include "webrtc/base/checks.h"
#include "webrtc/base/common.h"
#include "webrtc/base/json.h"
#include "webrtc/base/logging.h"
@@ -507,7 +508,7 @@ void Conductor::UIThreadCallback(int msg_id, void* data) {
}
default:
- ASSERT(false);
+ RTC_NOTREACHED();
break;
}
}
« no previous file with comments | « webrtc/base/win32socketserver.cc ('k') | webrtc/examples/peerconnection/client/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698