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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp

Issue 2159403002: Replace ASSERT with DCHECK in WebAudio (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/modules/webaudio/DynamicsCompressorNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp
index f13f67ca88fd38dbb1dcab959d4293832989098f..417a55ec582f53f9c2b114332188f61c23ece06e 100644
--- a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp
@@ -81,7 +81,7 @@ DynamicsCompressorHandler::~DynamicsCompressorHandler()
void DynamicsCompressorHandler::process(size_t framesToProcess)
{
AudioBus* outputBus = output(0).bus();
- ASSERT(outputBus);
+ DCHECK(outputBus);
float threshold = m_threshold->value();
float knee = m_knee->value();
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp ('k') | third_party/WebKit/Source/modules/webaudio/GainNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698