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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioDelayDSPKernel.cpp

Issue 2803733002: Convert ASSERT(foo) to DCHECK(foo) in platform/audio (Closed)
Patch Set: Mechanical change from ASSERT(foo) to DCHECK(foo) 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/audio/AudioDelayDSPKernel.cpp
diff --git a/third_party/WebKit/Source/platform/audio/AudioDelayDSPKernel.cpp b/third_party/WebKit/Source/platform/audio/AudioDelayDSPKernel.cpp
index 084ed486af5c08b6e1344ca0c8c26b71f9b85dcb..2630b916d21751f274356556cc2bc181eb1e7094 100644
--- a/third_party/WebKit/Source/platform/audio/AudioDelayDSPKernel.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioDelayDSPKernel.cpp
@@ -50,7 +50,7 @@ AudioDelayDSPKernel::AudioDelayDSPKernel(double maxDelayTime, float sampleRate)
return;
size_t bufferLength = bufferLengthForDelay(maxDelayTime, sampleRate);
- ASSERT(bufferLength);
+ DCHECK(bufferLength);
if (!bufferLength)
return;
@@ -87,7 +87,7 @@ void AudioDelayDSPKernel::process(const float* source,
size_t bufferLength = m_buffer.size();
float* buffer = m_buffer.data();
- ASSERT(bufferLength);
+ DCHECK(bufferLength);
if (!bufferLength)
return;

Powered by Google App Engine
This is Rietveld 408576698