Index: third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp b/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp |
index 4942b28f677b7904b6f4d4d1f5a712fd29f305f5..f788bf30974886279d3a78d7875c42c386310922 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp |
@@ -70,9 +70,9 @@ void WaveShaperDSPKernel::process(const float* source, float* destination, size_ |
void WaveShaperDSPKernel::processCurve(const float* source, float* destination, size_t framesToProcess) |
{ |
- ASSERT(source); |
- ASSERT(destination); |
- ASSERT(getWaveShaperProcessor()); |
+ DCHECK(source); |
+ DCHECK(destination); |
+ DCHECK(getWaveShaperProcessor()); |
Vector<float>* curve = getWaveShaperProcessor()->curve(); |
if (!curve) { |
@@ -84,7 +84,7 @@ void WaveShaperDSPKernel::processCurve(const float* source, float* destination, |
float* curveData = curve->data(); |
int curveLength = curve->size(); |
- ASSERT(curveData); |
+ DCHECK(curveData); |
if (!curveData || !curveLength) { |
memcpy(destination, source, sizeof(float) * framesToProcess); |
@@ -126,7 +126,7 @@ void WaveShaperDSPKernel::processCurve(const float* source, float* destination, |
void WaveShaperDSPKernel::processCurve2x(const float* source, float* destination, size_t framesToProcess) |
{ |
bool isSafe = framesToProcess == RenderingQuantum; |
- ASSERT(isSafe); |
+ DCHECK(isSafe); |
if (!isSafe) |
return; |
@@ -143,7 +143,7 @@ void WaveShaperDSPKernel::processCurve2x(const float* source, float* destination |
void WaveShaperDSPKernel::processCurve4x(const float* source, float* destination, size_t framesToProcess) |
{ |
bool isSafe = framesToProcess == RenderingQuantum; |
- ASSERT(isSafe); |
+ DCHECK(isSafe); |
if (!isSafe) |
return; |