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

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

Issue 2807593003: Revert of Convert RELEASE_ASSERT()/ASSERT(...) to CHECK()/DCHECK_op(...) in platform/audio (Closed)
Patch Set: 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 6d358ee6319659b696306f22185b8d4f7f0a58d6..7705c19578114d7ce03571e09a5f730b4475c443 100644
--- a/third_party/WebKit/Source/platform/audio/SincResampler.cpp
+++ b/third_party/WebKit/Source/platform/audio/SincResampler.cpp
@@ -156,8 +156,7 @@
// Consumes samples from the in-memory buffer.
void provideInput(AudioBus* bus, size_t framesToProcess) override {
- DCHECK(m_source);
- DCHECK(bus);
+ ASSERT(m_source && bus);
if (!m_source || !bus)
return;

Powered by Google App Engine
This is Rietveld 408576698