Index: Source/modules/webaudio/WaveShaperNode.cpp |
diff --git a/Source/modules/webaudio/WaveShaperNode.cpp b/Source/modules/webaudio/WaveShaperNode.cpp |
index d2791a6dd77220171d45a2ef3fe46f7bc2d5e2a0..303c665c028993333cfbbf2adbcbc8e85907db5b 100644 |
--- a/Source/modules/webaudio/WaveShaperNode.cpp |
+++ b/Source/modules/webaudio/WaveShaperNode.cpp |
@@ -28,7 +28,6 @@ |
#include "modules/webaudio/WaveShaperNode.h" |
-#include "bindings/v8/ExceptionState.h" |
#include "core/dom/ExceptionCode.h" |
#include "wtf/MainThread.h" |
@@ -55,7 +54,7 @@ Float32Array* WaveShaperNode::curve() |
return waveShaperProcessor()->curve(); |
} |
-void WaveShaperNode::setOversample(const String& type, ExceptionState& es) |
+void WaveShaperNode::setOversample(const String& type, ExceptionCode& ec) |
{ |
ASSERT(isMainThread()); |
@@ -71,7 +70,7 @@ void WaveShaperNode::setOversample(const String& type, ExceptionState& es) |
else if (type == "4x") |
waveShaperProcessor()->setOversample(WaveShaperProcessor::OverSample4x); |
else |
- es.throwDOMException(InvalidStateError); |
+ ec = InvalidStateError; |
} |
String WaveShaperNode::oversample() const |