| Index: third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp b/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
|
| index b92edfcd349c9cf4c4533297a397c00233e07b2c..5ff20bf2e96ab1f526142496d9b668378dcc8cdb 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
|
| @@ -217,7 +217,7 @@ float AudioParamHandler::finalValue()
|
| void AudioParamHandler::calculateSampleAccurateValues(float* values, unsigned numberOfValues)
|
| {
|
| bool isSafe = deferredTaskHandler().isAudioThread() && values && numberOfValues;
|
| - ASSERT(isSafe);
|
| + DCHECK(isSafe);
|
| if (!isSafe)
|
| return;
|
|
|
| @@ -227,7 +227,7 @@ void AudioParamHandler::calculateSampleAccurateValues(float* values, unsigned nu
|
| void AudioParamHandler::calculateFinalValues(float* values, unsigned numberOfValues, bool sampleAccurate)
|
| {
|
| bool isGood = deferredTaskHandler().isAudioThread() && values && numberOfValues;
|
| - ASSERT(isGood);
|
| + DCHECK(isGood);
|
| if (!isGood)
|
| return;
|
|
|
| @@ -256,7 +256,7 @@ void AudioParamHandler::calculateFinalValues(float* values, unsigned numberOfVal
|
|
|
| for (unsigned i = 0; i < numberOfRenderingConnections(); ++i) {
|
| AudioNodeOutput* output = renderingOutput(i);
|
| - ASSERT(output);
|
| + DCHECK(output);
|
|
|
| // Render audio from this output.
|
| AudioBus* connectionBus = output->pull(0, AudioHandler::ProcessingSizeInFrames);
|
|
|