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

Unified Diff: third_party/WebKit/Source/modules/webaudio/WaveShaperNode.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 | « third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp b/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
index 651f5c3d2f1594764cc9c5875939470dfa22756f..a80dd5d6a43e8f1da77c05217b8708fc6e09792a 100644
--- a/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
@@ -138,7 +138,7 @@ void WaveShaperNode::setOversample(const String& type) {
} else if (type == "4x") {
GetWaveShaperProcessor()->SetOversample(WaveShaperProcessor::kOverSample4x);
} else {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
@@ -153,7 +153,7 @@ String WaveShaperNode::oversample() const {
case WaveShaperProcessor::kOverSample4x:
return "4x";
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "none";
}
}
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698