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

Unified Diff: third_party/WebKit/Source/platform/audio/MultiChannelResampler.cpp

Issue 2803733002: Convert ASSERT(foo) to DCHECK(foo) in platform/audio (Closed)
Patch Set: Mechanical change from ASSERT(foo) to DCHECK(foo) 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 9c6379b5a6bd786cd3ae6e9c838752d24840fda4..9e3e3bede0fa3e57904c930c4b8799141af54a6b 100644
--- a/third_party/WebKit/Source/platform/audio/MultiChannelResampler.cpp
+++ b/third_party/WebKit/Source/platform/audio/MultiChannelResampler.cpp
@@ -51,7 +51,7 @@ class ChannelProvider final : public AudioSourceProvider {
// data.
void provideInput(AudioBus* bus, size_t framesToProcess) override {
bool isBusGood = bus && bus->numberOfChannels() == 1;
- ASSERT(isBusGood);
+ DCHECK(isBusGood);
if (!isBusGood)
return;
@@ -69,7 +69,7 @@ class ChannelProvider final : public AudioSourceProvider {
// case, but let's just make sure.
bool isGood =
m_multiChannelBus.get() && framesToProcess == m_framesToProcess;
- ASSERT(isGood);
+ DCHECK(isGood);
if (!isGood)
return;
« no previous file with comments | « third_party/WebKit/Source/platform/audio/IIRFilter.cpp ('k') | third_party/WebKit/Source/platform/audio/Reverb.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698