Index: Source/modules/webaudio/ConvolverNode.h |
diff --git a/Source/modules/webaudio/ConvolverNode.h b/Source/modules/webaudio/ConvolverNode.h |
index 083b9f2e39c58e03d38c83a6d2d066f2b2bba312..810dafdd828fc870ebf6cb479679eccec15143b8 100644 |
--- a/Source/modules/webaudio/ConvolverNode.h |
+++ b/Source/modules/webaudio/ConvolverNode.h |
@@ -37,9 +37,9 @@ class Reverb; |
class ConvolverNode FINAL : public AudioNode { |
public: |
- static PassRefPtr<ConvolverNode> create(AudioContext* context, float sampleRate) |
+ static PassRefPtrWillBeRawPtr<ConvolverNode> create(AudioContext* context, float sampleRate) |
{ |
- return adoptRef(new ConvolverNode(context, sampleRate)); |
+ return adoptRefWillBeNoop(new ConvolverNode(context, sampleRate)); |
} |
virtual ~ConvolverNode(); |
@@ -56,6 +56,8 @@ public: |
bool normalize() const { return m_normalize; } |
void setNormalize(bool normalize) { m_normalize = normalize; } |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
ConvolverNode(AudioContext*, float sampleRate); |
@@ -63,7 +65,7 @@ private: |
virtual double latencyTime() const OVERRIDE; |
OwnPtr<Reverb> m_reverb; |
- RefPtr<AudioBuffer> m_buffer; |
+ RefPtrWillBeMember<AudioBuffer> m_buffer; |
// This synchronizes dynamic changes to the convolution impulse response with process(). |
mutable Mutex m_processLock; |