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