Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Unified Diff: third_party/WebKit/Source/platform/audio/ipp/FFTFrameIPP.cpp

Issue 2803073002: Convert RELEASE_ASSERT()/ASSERT(...) to CHECK()/DCHECK_op(...) in platform/audio (Closed)
Patch Set: Removing DCHECK_IS_ON from FFTFrameOpenMAXDLAndroid.cpp Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/audio/ipp/FFTFrameIPP.cpp
diff --git a/third_party/WebKit/Source/platform/audio/ipp/FFTFrameIPP.cpp b/third_party/WebKit/Source/platform/audio/ipp/FFTFrameIPP.cpp
index f745e050e5158860d65005bd8b203ff97cb46a18..367707c6e4683fd048a653d6a51acc08fa6c1ef5 100644
--- a/third_party/WebKit/Source/platform/audio/ipp/FFTFrameIPP.cpp
+++ b/third_party/WebKit/Source/platform/audio/ipp/FFTFrameIPP.cpp
@@ -47,8 +47,8 @@ FFTFrame::FFTFrame(unsigned fftSize)
m_imagData(fftSize / 2),
m_complexData(fftSize) {
// We only allow power of two.
- ASSERT(1UL << m_log2FFTSize == m_FFTSize);
- ASSERT(m_log2FFTSize <= maximumFFTPower2Size);
+ DCHECK_EQ(1UL << m_log2FFTSize, m_FFTSize);
+ DCHECK_LE(m_log2FFTSize, maximumFFTPower2Size);
ippsDFTInitAlloc_R_32f(&m_DFTSpec, m_FFTSize, IPP_FFT_NODIV_BY_ANY,
ippAlgHintFast);

Powered by Google App Engine
This is Rietveld 408576698