Index: third_party/WebKit/Source/modules/webaudio/AudioWorkletProcessorDefinition.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioWorkletProcessorDefinition.h b/third_party/WebKit/Source/modules/webaudio/AudioWorkletProcessorDefinition.h |
index 6e2ddabb8016712600a30d21a2a146eb599ee6b6..ca9e7e9d07b42e32cd87786bc26e4588f0c6cf36 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AudioWorkletProcessorDefinition.h |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioWorkletProcessorDefinition.h |
@@ -5,7 +5,9 @@ |
#ifndef AudioWorkletProcessorDefinition_h |
#define AudioWorkletProcessorDefinition_h |
+#include "bindings/core/v8/Dictionary.h" |
#include "modules/ModulesExport.h" |
+#include "modules/webaudio/AudioParamDescriptor.h" |
#include "platform/bindings/ScopedPersistent.h" |
#include "platform/heap/Handle.h" |
#include "platform/wtf/text/WTFString.h" |
@@ -32,16 +34,18 @@ class MODULES_EXPORT AudioWorkletProcessorDefinition final |
virtual ~AudioWorkletProcessorDefinition(); |
const String& GetName() const { return name_; } |
+ |
v8::Local<v8::Function> ConstructorLocal(v8::Isolate*); |
v8::Local<v8::Function> ProcessLocal(v8::Isolate*); |
- DEFINE_INLINE_TRACE(){}; |
+ DECLARE_TRACE(); |
private: |
- AudioWorkletProcessorDefinition(v8::Isolate*, |
- const String& name, |
- v8::Local<v8::Function> constructor, |
- v8::Local<v8::Function> process); |
+ AudioWorkletProcessorDefinition( |
+ v8::Isolate*, |
+ const String& name, |
+ v8::Local<v8::Function> constructor, |
+ v8::Local<v8::Function> process); |
const String name_; |
@@ -50,8 +54,8 @@ class MODULES_EXPORT AudioWorkletProcessorDefinition final |
ScopedPersistent<v8::Function> constructor_; |
ScopedPersistent<v8::Function> process_; |
- // TODO(hongchan): A container for AudioParamDescriptor objects. |
- // ScopedPersistent<v8::Array> m_parameterDescriptors; |
+ // A container for AudioParamDescriptor objects. |
+ HeapVector<AudioParamDescriptor> audio_param_descriptors_; |
}; |
} // namespace blink |