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

Unified Diff: webrtc/api/notifier.h

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/api/mediastream.cc ('k') | webrtc/api/peerconnection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/notifier.h
diff --git a/webrtc/api/notifier.h b/webrtc/api/notifier.h
index 8be9ffe9dc0166c93e0707fc04a5ad3b4534934d..69a86976d3246d93baf33438b0b5c92d6891567f 100644
--- a/webrtc/api/notifier.h
+++ b/webrtc/api/notifier.h
@@ -14,6 +14,7 @@
#include <list>
#include "webrtc/api/mediastreaminterface.h"
+#include "webrtc/base/checks.h"
#include "webrtc/base/common.h"
namespace webrtc {
@@ -26,7 +27,7 @@ class Notifier : public T {
}
virtual void RegisterObserver(ObserverInterface* observer) {
- ASSERT(observer != NULL);
+ RTC_DCHECK(observer != NULL);
observers_.push_back(observer);
}
« no previous file with comments | « webrtc/api/mediastream.cc ('k') | webrtc/api/peerconnection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698