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

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

Issue 2809023002: Replace ASSERT/ASSERT_NOT_REACHED with DCHECK/NOTREACHED in modules/webaudio (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/modules/webaudio/AudioBasicProcessorHandler.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp b/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp
index 19004ced60197fbd795f9d1e5408f0ff882e4a75..b763cde4bef05d8e81cc738b1ce67aae4fdce465 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp
@@ -117,7 +117,7 @@ void AudioBasicProcessorHandler::PullInputs(size_t frames_to_process) {
void AudioBasicProcessorHandler::CheckNumberOfChannelsForInput(
AudioNodeInput* input) {
DCHECK(Context()->IsAudioThread());
- ASSERT(Context()->IsGraphOwner());
+ DCHECK(Context()->IsGraphOwner());
DCHECK_EQ(input, &this->Input(0));
if (input != &this->Input(0))

Powered by Google App Engine
This is Rietveld 408576698