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

Unified Diff: third_party/WebKit/Source/platform/audio/IIRFilter.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/IIRFilter.cpp
diff --git a/third_party/WebKit/Source/platform/audio/IIRFilter.cpp b/third_party/WebKit/Source/platform/audio/IIRFilter.cpp
index 2dca1b18b83a1cfc8d81434a41922ab8c9b76172..c914a6d8875718dfb07ad3ebf4566287ec87aaec 100644
--- a/third_party/WebKit/Source/platform/audio/IIRFilter.cpp
+++ b/third_party/WebKit/Source/platform/audio/IIRFilter.cpp
@@ -65,7 +65,7 @@ void IIRFilter::process(const float* sourceP,
// Sanity check to see if the feedback coefficients have been scaled
// appropriately. It must be EXACTLY 1!
- ASSERT(feedback[0] == 1);
+ DCHECK_EQ(feedback[0], 1);
int feedbackLength = m_feedback->size();
int feedforwardLength = m_feedforward->size();

Powered by Google App Engine
This is Rietveld 408576698