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

Unified Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamWebAudioSource.cpp

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase Created 3 years, 8 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: third_party/WebKit/Source/platform/mediastream/MediaStreamWebAudioSource.cpp
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamWebAudioSource.cpp b/third_party/WebKit/Source/platform/mediastream/MediaStreamWebAudioSource.cpp
index e54d61d8ad76675d7d8f94d9daedc44cefe90fbd..5bd7346d0ad2f2fde3a930403b36d5f0f8f00b8a 100644
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamWebAudioSource.cpp
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamWebAudioSource.cpp
@@ -43,7 +43,7 @@ MediaStreamWebAudioSource::~MediaStreamWebAudioSource() {}
void MediaStreamWebAudioSource::ProvideInput(AudioBus* bus,
size_t frames_to_process) {
- ASSERT(bus);
+ DCHECK(bus);
if (!bus)
return;

Powered by Google App Engine
This is Rietveld 408576698