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

Unified Diff: third_party/WebKit/Source/platform/audio/SincResampler.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/SincResampler.cpp
diff --git a/third_party/WebKit/Source/platform/audio/SincResampler.cpp b/third_party/WebKit/Source/platform/audio/SincResampler.cpp
index 7705c19578114d7ce03571e09a5f730b4475c443..6d358ee6319659b696306f22185b8d4f7f0a58d6 100644
--- a/third_party/WebKit/Source/platform/audio/SincResampler.cpp
+++ b/third_party/WebKit/Source/platform/audio/SincResampler.cpp
@@ -156,7 +156,8 @@ class BufferSourceProvider final : public AudioSourceProvider {
// Consumes samples from the in-memory buffer.
void provideInput(AudioBus* bus, size_t framesToProcess) override {
- ASSERT(m_source && bus);
+ DCHECK(m_source);
+ DCHECK(bus);
if (!m_source || !bus)
return;

Powered by Google App Engine
This is Rietveld 408576698