Index: Source/modules/webaudio/AnalyserNode.cpp |
diff --git a/Source/modules/webaudio/AnalyserNode.cpp b/Source/modules/webaudio/AnalyserNode.cpp |
index 1a831b2995ee43d670d12a8604bcb5b9828112d0..2a4e683823a2c9fa270ed655e5eb251c2d66fc9e 100644 |
--- a/Source/modules/webaudio/AnalyserNode.cpp |
+++ b/Source/modules/webaudio/AnalyserNode.cpp |
@@ -28,7 +28,6 @@ |
#include "modules/webaudio/AnalyserNode.h" |
-#include "bindings/v8/ExceptionState.h" |
#include "core/dom/ExceptionCode.h" |
#include "modules/webaudio/AudioNodeInput.h" |
#include "modules/webaudio/AudioNodeOutput.h" |
@@ -73,10 +72,10 @@ void AnalyserNode::reset() |
m_analyser.reset(); |
} |
-void AnalyserNode::setFftSize(unsigned size, ExceptionState& es) |
+void AnalyserNode::setFftSize(unsigned size, ExceptionCode& ec) |
{ |
if (!m_analyser.setFftSize(size)) |
- es.throwDOMException(NotSupportedError); |
+ ec = NotSupportedError; |
} |
} // namespace WebCore |