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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioParam.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/AudioParam.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp b/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
index cb436c239f1d32913dc4ab4dfbccbfb53536249f..00465aa468b14f86434bd28cbcd6a38def857721 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
@@ -289,7 +289,7 @@ void AudioParamHandler::CalculateTimelineValues(float* values,
}
void AudioParamHandler::Connect(AudioNodeOutput& output) {
- ASSERT(GetDeferredTaskHandler().IsGraphOwner());
+ DCHECK(GetDeferredTaskHandler().IsGraphOwner());
if (outputs_.Contains(&output))
return;
@@ -300,7 +300,7 @@ void AudioParamHandler::Connect(AudioNodeOutput& output) {
}
void AudioParamHandler::Disconnect(AudioNodeOutput& output) {
- ASSERT(GetDeferredTaskHandler().IsGraphOwner());
+ DCHECK(GetDeferredTaskHandler().IsGraphOwner());
if (outputs_.Contains(&output)) {
outputs_.erase(&output);

Powered by Google App Engine
This is Rietveld 408576698