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

Unified Diff: webrtc/api/peerconnection.cc

Issue 2620303003: Replace ASSERT by RTC_DCHECK in all non-test code. (Closed)
Patch Set: Also replace NDEBUG checks in taskrunner.h. 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
Index: webrtc/api/peerconnection.cc
diff --git a/webrtc/api/peerconnection.cc b/webrtc/api/peerconnection.cc
index 1d85e73234349d515449284acdd9202800bd6f0e..9884ba4700e314ca245075afdece756a232210db 100644
--- a/webrtc/api/peerconnection.cc
+++ b/webrtc/api/peerconnection.cc
@@ -1944,7 +1944,7 @@ void PeerConnection::OnRemoteTrackRemoved(const std::string& stream_label,
stream->RemoveTrack(video_track);
}
} else {
- ASSERT(false && "Invalid media type");
+ RTC_DCHECK(false && "Invalid media type");
kwiberg-webrtc 2017/01/12 02:10:41 RTC_NOTREACHED with a message?
}
}

Powered by Google App Engine
This is Rietveld 408576698