| Index: third_party/WebKit/Source/platform/audio/HRTFElevation.cpp
|
| diff --git a/third_party/WebKit/Source/platform/audio/HRTFElevation.cpp b/third_party/WebKit/Source/platform/audio/HRTFElevation.cpp
|
| index af42a3ef013b2a2afd990b477a765e41d3201455..bf0df80f75752501e991dbe0593024a5f7062ca5 100644
|
| --- a/third_party/WebKit/Source/platform/audio/HRTFElevation.cpp
|
| +++ b/third_party/WebKit/Source/platform/audio/HRTFElevation.cpp
|
| @@ -309,13 +309,11 @@
|
| HRTFElevation* hrtfElevation2,
|
| float x,
|
| float sampleRate) {
|
| - DCHECK(hrtfElevation1);
|
| - DCHECK(hrtfElevation2);
|
| + ASSERT(hrtfElevation1 && hrtfElevation2);
|
| if (!hrtfElevation1 || !hrtfElevation2)
|
| return nullptr;
|
|
|
| - DCHECK_GE(x, 0.0);
|
| - DCHECK_LT(x, 1.0);
|
| + ASSERT(x >= 0.0 && x < 1.0);
|
|
|
| std::unique_ptr<HRTFKernelList> kernelListL =
|
| WTF::makeUnique<HRTFKernelList>(NumberOfTotalAzimuths);
|
|
|