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

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

Issue 205173002: Move webaudio to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WIP Created 6 years, 9 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 3f5ef90618a2ba36a15dfe43c0675e7e40552d7f..5d33edd7839546e30079c35a49ec5ac195b8c3e1 100644
--- a/Source/modules/webaudio/PannerNode.h
+++ b/Source/modules/webaudio/PannerNode.h
@@ -157,8 +157,8 @@ private:
FloatPoint3D m_cachedVelocity;
// Gain
- RefPtr<AudioParam> m_distanceGain;
- RefPtr<AudioParam> m_coneGain;
+ RefPtrWillBePersistent<AudioParam> m_distanceGain;
+ RefPtrWillBePersistent<AudioParam> m_coneGain;
DistanceEffect m_distanceEffect;
ConeEffect m_coneEffect;
float m_lastGain;
@@ -169,7 +169,7 @@ private:
double m_cachedDopplerRate;
// Cached listener parameters after processing.
- RefPtr<AudioListener> m_cachedListener;
+ RefPtrWillBePersistent<AudioListener> m_cachedListener;
RefPtr<HRTFDatabaseLoader> m_hrtfDatabaseLoader;

Powered by Google App Engine
This is Rietveld 408576698