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

Unified Diff: third_party/WebKit/Source/platform/audio/EqualPowerPanner.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/EqualPowerPanner.cpp
diff --git a/third_party/WebKit/Source/platform/audio/EqualPowerPanner.cpp b/third_party/WebKit/Source/platform/audio/EqualPowerPanner.cpp
index c8d743875074ad219278f0ea58fd5c3909047782..dc57c4143622c3ade3afe12bf9f761e312bf26e6 100644
--- a/third_party/WebKit/Source/platform/audio/EqualPowerPanner.cpp
+++ b/third_party/WebKit/Source/platform/audio/EqualPowerPanner.cpp
@@ -45,7 +45,7 @@ void EqualPowerPanner::pan(double azimuth,
bool isInputSafe = inputBus && (inputBus->numberOfChannels() == 1 ||
inputBus->numberOfChannels() == 2) &&
framesToProcess <= inputBus->length();
- ASSERT(isInputSafe);
+ DCHECK(isInputSafe);
if (!isInputSafe)
return;
@@ -53,7 +53,7 @@ void EqualPowerPanner::pan(double azimuth,
bool isOutputSafe = outputBus && outputBus->numberOfChannels() == 2 &&
framesToProcess <= outputBus->length();
- ASSERT(isOutputSafe);
+ DCHECK(isOutputSafe);
if (!isOutputSafe)
return;
« no previous file with comments | « third_party/WebKit/Source/platform/audio/DownSampler.cpp ('k') | third_party/WebKit/Source/platform/audio/FFTConvolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698