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

Unified Diff: webrtc/base/networkmonitor.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/network.cc ('k') | webrtc/base/openssladapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/networkmonitor.cc
diff --git a/webrtc/base/networkmonitor.cc b/webrtc/base/networkmonitor.cc
index 12076bd24e33ccdc189b876becf94ad02303b486..ddba348a73455114a5a9d4de43a20d0d2f217b9c 100644
--- a/webrtc/base/networkmonitor.cc
+++ b/webrtc/base/networkmonitor.cc
@@ -10,6 +10,7 @@
#include "webrtc/base/networkmonitor.h"
+#include "webrtc/base/checks.h"
#include "webrtc/base/common.h"
namespace {
@@ -35,7 +36,7 @@ void NetworkMonitorBase::OnNetworksChanged() {
}
void NetworkMonitorBase::OnMessage(Message* msg) {
- ASSERT(msg->message_id == UPDATE_NETWORKS_MESSAGE);
+ RTC_DCHECK(msg->message_id == UPDATE_NETWORKS_MESSAGE);
SignalNetworksChanged();
}
« no previous file with comments | « webrtc/base/network.cc ('k') | webrtc/base/openssladapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698