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

Unified Diff: Source/modules/webaudio/AnalyserNode.cpp

Issue 19724003: Revert "Transition modules/** to use ExceptionState" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « Source/modules/webaudio/AnalyserNode.h ('k') | Source/modules/webaudio/AudioBasicInspectorNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/modules/webaudio/AnalyserNode.h ('k') | Source/modules/webaudio/AudioBasicInspectorNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698