Index: Source/modules/webaudio/ScriptProcessorNode.h |
diff --git a/Source/modules/webaudio/ScriptProcessorNode.h b/Source/modules/webaudio/ScriptProcessorNode.h |
index 515059fe0d4dc1db4647e27e224bdd8cabdebd8b..6be4f7666335b51c28b8f334a1748193953ad3da 100644 |
--- a/Source/modules/webaudio/ScriptProcessorNode.h |
+++ b/Source/modules/webaudio/ScriptProcessorNode.h |
@@ -50,7 +50,7 @@ public: |
// This value controls how frequently the onaudioprocess event handler is called and how many sample-frames need to be processed each call. |
// Lower numbers for bufferSize will result in a lower (better) latency. Higher numbers will be necessary to avoid audio breakup and glitches. |
// The value chosen must carefully balance between latency and audio quality. |
- static PassRefPtr<ScriptProcessorNode> create(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels); |
+ static PassRefPtrWillBeRawPtr<ScriptProcessorNode> create(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels); |
virtual ~ScriptProcessorNode(); |
@@ -78,8 +78,8 @@ private: |
void swapBuffers() { m_doubleBufferIndex = 1 - m_doubleBufferIndex; } |
unsigned m_doubleBufferIndex; |
unsigned m_doubleBufferIndexForEvent; |
- Vector<RefPtr<AudioBuffer> > m_inputBuffers; |
- Vector<RefPtr<AudioBuffer> > m_outputBuffers; |
+ WillBePersistentHeapVector<RefPtrWillBeMember<AudioBuffer> > m_inputBuffers; |
Mads Ager (chromium)
2014/03/27 11:06:49
This is an AudioNode and is therefore in the heap.
keishi
2014/04/03 06:53:19
Done.
|
+ WillBePersistentHeapVector<RefPtrWillBeMember<AudioBuffer> > m_outputBuffers; |
size_t m_bufferSize; |
unsigned m_bufferReadWriteIndex; |