| 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()); }
|
| };
|
|
|