| Index: third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
|
| diff --git a/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp b/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
|
| index f57f0961e81e606db8f273b84513a5fec1b4c536..47562dc1f4ff9bbc525f55ec0d38558bff8854b5 100644
|
| --- a/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
|
| +++ b/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
|
| @@ -49,7 +49,7 @@
|
| m_log2FFTSize = static_cast<unsigned>(log2(fftSize));
|
|
|
| // We only allow power of two
|
| - DCHECK_EQ(1UL << m_log2FFTSize, m_FFTSize);
|
| + ASSERT(1UL << m_log2FFTSize == m_FFTSize);
|
|
|
| // Lazily create and share fftSetup with other frames
|
| m_FFTSetup = fftSetupForSize(fftSize);
|
| @@ -116,7 +116,7 @@
|
| }
|
|
|
| int pow2size = static_cast<int>(log2(fftSize));
|
| - DCHECK_LT(pow2size, kMaxFFTPow2Size);
|
| + ASSERT(pow2size < kMaxFFTPow2Size);
|
| if (!fftSetups[pow2size])
|
| fftSetups[pow2size] = vDSP_create_fftsetup(pow2size, FFT_RADIX2);
|
|
|
|
|