| Index: third_party/WebKit/Source/platform/audio/AudioDelayDSPKernel.cpp
|
| diff --git a/third_party/WebKit/Source/platform/audio/AudioDelayDSPKernel.cpp b/third_party/WebKit/Source/platform/audio/AudioDelayDSPKernel.cpp
|
| index 4324c5c872f30b9c49e15f10b8194d24bae7c19e..2630b916d21751f274356556cc2bc181eb1e7094 100644
|
| --- a/third_party/WebKit/Source/platform/audio/AudioDelayDSPKernel.cpp
|
| +++ b/third_party/WebKit/Source/platform/audio/AudioDelayDSPKernel.cpp
|
| @@ -45,8 +45,7 @@
|
| m_maxDelayTime(maxDelayTime),
|
| m_writeIndex(0),
|
| m_firstTime(true) {
|
| - DCHECK_GT(maxDelayTime, 0.0);
|
| - DCHECK(!std::isnan(maxDelayTime));
|
| + ASSERT(maxDelayTime > 0.0 && !std::isnan(maxDelayTime));
|
| if (maxDelayTime <= 0.0 || std::isnan(maxDelayTime))
|
| return;
|
|
|
| @@ -92,8 +91,7 @@
|
| if (!bufferLength)
|
| return;
|
|
|
| - DCHECK(source);
|
| - DCHECK(destination);
|
| + ASSERT(source && destination);
|
| if (!source || !destination)
|
| return;
|
|
|
|
|