| 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
|
|
|