Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2068)

Unified Diff: Source/modules/webaudio/PannerNode.h

Issue 205173002: Move webaudio to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698