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

Unified Diff: third_party/WebKit/Source/platform/audio/ReverbConvolver.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/ReverbConvolver.cpp
diff --git a/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp b/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
index 06d896c9ecf29d2d7d78cc0899f6614d46a8f449..6534e09f744caed5649e6809afac03ed68760748 100644
--- a/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
+++ b/third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
@@ -174,14 +174,14 @@ void ReverbConvolver::process(const AudioChannel* sourceChannel,
bool isSafe = sourceChannel && destinationChannel &&
sourceChannel->length() >= framesToProcess &&
destinationChannel->length() >= framesToProcess;
- ASSERT(isSafe);
+ DCHECK(isSafe);
if (!isSafe)
return;
const float* source = sourceChannel->data();
float* destination = destinationChannel->mutableData();
bool isDataSafe = source && destination;
- ASSERT(isDataSafe);
+ DCHECK(isDataSafe);
if (!isDataSafe)
return;

Powered by Google App Engine
This is Rietveld 408576698