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

Unified Diff: Source/modules/webaudio/OscillatorNode.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/OscillatorNode.h
diff --git a/Source/modules/webaudio/OscillatorNode.h b/Source/modules/webaudio/OscillatorNode.h
index 9f02d52a95c4a9c25325f7aa1397e2a3a48b5bdd..3571e1f9043401c74a21fcb30e9d4cc288dfecc1 100644
--- a/Source/modules/webaudio/OscillatorNode.h
+++ b/Source/modules/webaudio/OscillatorNode.h
@@ -52,7 +52,7 @@ public:
CUSTOM = 4
};
- static PassRefPtr<OscillatorNode> create(AudioContext*, float sampleRate);
+ static PassRefPtrWillBeRawPtr<OscillatorNode> create(AudioContext*, float sampleRate);
virtual ~OscillatorNode();
@@ -69,6 +69,8 @@ public:
void setPeriodicWave(PeriodicWave*);
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
OscillatorNode(AudioContext*, float sampleRate);
@@ -81,10 +83,10 @@ private:
unsigned short m_type;
// Frequency value in Hertz.
- RefPtr<AudioParam> m_frequency;
+ RefPtrWillBeMember<AudioParam> m_frequency;
// Detune value (deviating from the frequency) in Cents.
- RefPtr<AudioParam> m_detune;
+ RefPtrWillBeMember<AudioParam> m_detune;
bool m_firstRender;
@@ -99,7 +101,7 @@ private:
AudioFloatArray m_phaseIncrements;
AudioFloatArray m_detuneValues;
- RefPtr<PeriodicWave> m_periodicWave;
+ RefPtrWillBeMember<PeriodicWave> m_periodicWave;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698