| Index: Source/modules/webaudio/PannerNode.h
|
| diff --git a/Source/modules/webaudio/PannerNode.h b/Source/modules/webaudio/PannerNode.h
|
| index 3f5ef90618a2ba36a15dfe43c0675e7e40552d7f..6a0253c42171b3a3a9686c9994c082475e2ca679 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();
|
| @@ -121,6 +121,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);
|
|
|
| @@ -157,8 +159,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;
|
| @@ -169,7 +171,7 @@ private:
|
| double m_cachedDopplerRate;
|
|
|
| // Cached listener parameters after processing.
|
| - RefPtr<AudioListener> m_cachedListener;
|
| + RefPtrWillBeMember<AudioListener> m_cachedListener;
|
|
|
| RefPtr<HRTFDatabaseLoader> m_hrtfDatabaseLoader;
|
|
|
|
|