Index: Source/modules/webaudio/AudioBufferSourceNode.h |
diff --git a/Source/modules/webaudio/AudioBufferSourceNode.h b/Source/modules/webaudio/AudioBufferSourceNode.h |
index d8efe5b2f13c529c4a309c85672a71039b059c00..ba2fe13a5c39de8e8d5608c246905af6c8e6fc3b 100644 |
--- a/Source/modules/webaudio/AudioBufferSourceNode.h |
+++ b/Source/modules/webaudio/AudioBufferSourceNode.h |
@@ -102,15 +102,15 @@ private: |
inline bool renderSilenceAndFinishIfNotLooping(AudioBus*, unsigned index, size_t framesToProcess); |
// m_buffer holds the sample data which this node outputs. |
- RefPtr<AudioBuffer> m_buffer; |
+ RefPtrWillBePersistent<AudioBuffer> m_buffer; |
// Pointers for the buffer and destination. |
OwnPtr<const float*[]> m_sourceChannels; |
OwnPtr<float*[]> m_destinationChannels; |
// Used for the "gain" and "playbackRate" attributes. |
- RefPtr<AudioParam> m_gain; |
- RefPtr<AudioParam> m_playbackRate; |
+ RefPtrWillBePersistent<AudioParam> m_gain; |
+ RefPtrWillBePersistent<AudioParam> m_playbackRate; |
// If m_isLooping is false, then this node will be done playing and become inactive after it reaches the end of the sample data in the buffer. |
// If true, it will wrap around to the start of the buffer each time it reaches the end. |