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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioBasicInspectorNode.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webaudio/AudioBasicInspectorNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBasicInspectorNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioBasicInspectorNode.cpp
index 9da1af32a525be5ca1a4e3c519815bbc7e20c20b..d98fa89caf50639d9182ea4a7f3b47b38f14e75b 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioBasicInspectorNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBasicInspectorNode.cpp
@@ -77,7 +77,7 @@ void AudioBasicInspectorNode::disconnect(unsigned output_index,
void AudioBasicInspectorHandler::CheckNumberOfChannelsForInput(
AudioNodeInput* input) {
DCHECK(Context()->IsAudioThread());
- ASSERT(Context()->IsGraphOwner());
+ DCHECK(Context()->IsGraphOwner());
DCHECK_EQ(input, &this->Input(0));
if (input != &this->Input(0))
@@ -97,7 +97,7 @@ void AudioBasicInspectorHandler::CheckNumberOfChannelsForInput(
}
void AudioBasicInspectorHandler::UpdatePullStatus() {
- ASSERT(Context()->IsGraphOwner());
+ DCHECK(Context()->IsGraphOwner());
if (Output(0).IsConnected()) {
// When an AudioBasicInspectorNode is connected to a downstream node, it
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698