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

Unified Diff: third_party/WebKit/Source/platform/audio/MultiChannelResampler.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/MultiChannelResampler.cpp
diff --git a/third_party/WebKit/Source/platform/audio/MultiChannelResampler.cpp b/third_party/WebKit/Source/platform/audio/MultiChannelResampler.cpp
index 9e3e3bede0fa3e57904c930c4b8799141af54a6b..175af08f10bda4dea63e08ebbca18988bddd2114 100644
--- a/third_party/WebKit/Source/platform/audio/MultiChannelResampler.cpp
+++ b/third_party/WebKit/Source/platform/audio/MultiChannelResampler.cpp
@@ -74,7 +74,7 @@ class ChannelProvider final : public AudioSourceProvider {
return;
// Copy the channel data from what we received from m_multiChannelProvider.
- ASSERT(m_currentChannel <= m_numberOfChannels);
+ DCHECK_LE(m_currentChannel, m_numberOfChannels);
if (m_currentChannel < m_numberOfChannels) {
memcpy(bus->channel(0)->mutableData(),
m_multiChannelBus->channel(m_currentChannel)->data(),

Powered by Google App Engine
This is Rietveld 408576698