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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioResamplerKernel.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/AudioResamplerKernel.cpp
diff --git a/third_party/WebKit/Source/platform/audio/AudioResamplerKernel.cpp b/third_party/WebKit/Source/platform/audio/AudioResamplerKernel.cpp
index ac17832ef858d839aab7f3d5f247946269e0b336..3a9486182c9dfd6fbb9ea1242f78fd6b0ddb82ac 100644
--- a/third_party/WebKit/Source/platform/audio/AudioResamplerKernel.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioResamplerKernel.cpp
@@ -67,7 +67,7 @@ float* AudioResamplerKernel::getSourcePointer(
// Do bounds checking for the source buffer.
bool isGood = m_fillIndex < m_sourceBuffer.size() &&
m_fillIndex + framesNeeded <= m_sourceBuffer.size();
- ASSERT(isGood);
+ DCHECK(isGood);
if (!isGood)
return 0;

Powered by Google App Engine
This is Rietveld 408576698