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

Unified Diff: Source/modules/webaudio/DelayNode.h

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/DefaultAudioDestinationNode.cpp ('k') | Source/modules/webaudio/DelayNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/DelayNode.h
diff --git a/Source/modules/webaudio/DelayNode.h b/Source/modules/webaudio/DelayNode.h
index 7eaa5e4b647abb4d6c13d822b905ccc8c13104de..839e1853f8ee4aad89b0f217260f062dec9333d0 100644
--- a/Source/modules/webaudio/DelayNode.h
+++ b/Source/modules/webaudio/DelayNode.h
@@ -25,6 +25,7 @@
#ifndef DelayNode_h
#define DelayNode_h
+#include "core/dom/ExceptionCode.h"
#include "modules/webaudio/AudioBasicProcessorNode.h"
#include "modules/webaudio/DelayProcessor.h"
#include "wtf/PassRefPtr.h"
@@ -32,19 +33,18 @@
namespace WebCore {
class AudioParam;
-class ExceptionState;
class DelayNode : public AudioBasicProcessorNode {
public:
- static PassRefPtr<DelayNode> create(AudioContext* context, float sampleRate, double maxDelayTime, ExceptionState& es)
+ static PassRefPtr<DelayNode> create(AudioContext* context, float sampleRate, double maxDelayTime, ExceptionCode& ec)
{
- return adoptRef(new DelayNode(context, sampleRate, maxDelayTime, es));
+ return adoptRef(new DelayNode(context, sampleRate, maxDelayTime, ec));
}
AudioParam* delayTime();
private:
- DelayNode(AudioContext*, float sampleRate, double maxDelayTime, ExceptionState&);
+ DelayNode(AudioContext*, float sampleRate, double maxDelayTime, ExceptionCode&);
DelayProcessor* delayProcessor() { return static_cast<DelayProcessor*>(processor()); }
};
« no previous file with comments | « Source/modules/webaudio/DefaultAudioDestinationNode.cpp ('k') | Source/modules/webaudio/DelayNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698