| Index: third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp
|
| diff --git a/third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp b/third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp
|
| index 76acca8a60d76a5c204afe2b911db5787514983e..278730595e0381000a407d109809c29d5fe6a3af 100644
|
| --- a/third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp
|
| +++ b/third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp
|
| @@ -54,7 +54,7 @@ HRTFDatabase::HRTFDatabase(float sampleRate)
|
| elevation += RawElevationAngleSpacing) {
|
| std::unique_ptr<HRTFElevation> hrtfElevation =
|
| HRTFElevation::createForSubject("Composite", elevation, sampleRate);
|
| - ASSERT(hrtfElevation.get());
|
| + DCHECK(hrtfElevation.get());
|
| if (!hrtfElevation.get())
|
| return;
|
|
|
| @@ -103,7 +103,7 @@ void HRTFDatabase::getKernelsFromAzimuthElevation(double azimuthBlend,
|
| elevationIndex = m_elevations.size() - 1;
|
|
|
| HRTFElevation* hrtfElevation = m_elevations[elevationIndex].get();
|
| - ASSERT(hrtfElevation);
|
| + DCHECK(hrtfElevation);
|
| if (!hrtfElevation) {
|
| kernelL = 0;
|
| kernelR = 0;
|
|
|