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); |
} |