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 e4d9ba1e094d483e6aca15a411df168e28104339..44c9f628a280bbe51e596c5d0fcd7a09d18bbae6 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp |
@@ -59,7 +59,7 @@ WaveShaperProcessor* WaveShaperNode::getWaveShaperProcessor() const |
void WaveShaperNode::setCurve(DOMFloat32Array* curve, ExceptionState& exceptionState) |
{ |
- ASSERT(isMainThread()); |
+ DCHECK(isMainThread()); |
if (curve && curve->length() < 2) { |
exceptionState.throwDOMException( |
@@ -90,7 +90,7 @@ DOMFloat32Array* WaveShaperNode::curve() |
void WaveShaperNode::setOversample(const String& type) |
{ |
- ASSERT(isMainThread()); |
+ DCHECK(isMainThread()); |
// This is to synchronize with the changes made in |
// AudioBasicProcessorNode::checkNumberOfChannelsForInput() where we can |