| Index: Source/modules/webaudio/PannerNode.h
|
| diff --git a/Source/modules/webaudio/PannerNode.h b/Source/modules/webaudio/PannerNode.h
|
| index 2a29d01f6bdbfe4cd74cf4abf4e51118ca50a1c8..8a35a23d01a380b7572683951ba19522bf5d99e6 100644
|
| --- a/Source/modules/webaudio/PannerNode.h
|
| +++ b/Source/modules/webaudio/PannerNode.h
|
| @@ -62,9 +62,9 @@ public:
|
| EXPONENTIAL_DISTANCE = 2,
|
| };
|
|
|
| - static PassRefPtr<PannerNode> create(AudioContext* context, float sampleRate)
|
| + static PassRefPtrWillBeRawPtr<PannerNode> create(AudioContext* context, float sampleRate)
|
| {
|
| - return adoptRef(new PannerNode(context, sampleRate));
|
| + return adoptRefWillBeNoop(new PannerNode(context, sampleRate));
|
| }
|
|
|
| virtual ~PannerNode();
|
| @@ -122,6 +122,8 @@ public:
|
| virtual double tailTime() const OVERRIDE { return m_panner ? m_panner->tailTime() : 0; }
|
| virtual double latencyTime() const OVERRIDE { return m_panner ? m_panner->latencyTime() : 0; }
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| PannerNode(AudioContext*, float sampleRate);
|
|
|
| @@ -159,8 +161,8 @@ private:
|
| FloatPoint3D m_cachedVelocity;
|
|
|
| // Gain
|
| - RefPtr<AudioParam> m_distanceGain;
|
| - RefPtr<AudioParam> m_coneGain;
|
| + RefPtrWillBeMember<AudioParam> m_distanceGain;
|
| + RefPtrWillBeMember<AudioParam> m_coneGain;
|
| DistanceEffect m_distanceEffect;
|
| ConeEffect m_coneEffect;
|
| float m_lastGain;
|
| @@ -171,7 +173,7 @@ private:
|
| double m_cachedDopplerRate;
|
|
|
| // Cached listener parameters after processing.
|
| - RefPtr<AudioListener> m_cachedListener;
|
| + RefPtrWillBeMember<AudioListener> m_cachedListener;
|
|
|
| RefPtr<HRTFDatabaseLoader> m_hrtfDatabaseLoader;
|
|
|
|
|