Index: Source/modules/webaudio/PannerNode.h |
diff --git a/Source/modules/webaudio/PannerNode.h b/Source/modules/webaudio/PannerNode.h |
index f1981df10f0ebeff06acececf5e3765b3bc8cd40..c0a353b4c84bafe9f0c1c3fe4c28d065c9595121 100644 |
--- a/Source/modules/webaudio/PannerNode.h |
+++ b/Source/modules/webaudio/PannerNode.h |
@@ -61,9 +61,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(); |
@@ -119,6 +119,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); |
@@ -168,7 +170,7 @@ private: |
double m_cachedDopplerRate; |
// Cached listener parameters after processing. |
- RefPtr<AudioListener> m_cachedListener; |
+ RefPtrWillBeMember<AudioListener> m_cachedListener; |
RefPtr<HRTFDatabaseLoader> m_hrtfDatabaseLoader; |