| Index: Source/modules/webaudio/OscillatorNode.h
|
| diff --git a/Source/modules/webaudio/OscillatorNode.h b/Source/modules/webaudio/OscillatorNode.h
|
| index 7e23c99ab05b9bf847e5f6f190fb55ac77b166d4..be18d7d94ff3a9bdb66b19664f116d06177c5117 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();
|
|
|
| @@ -68,6 +68,8 @@ public:
|
|
|
| void setPeriodicWave(PeriodicWave*);
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| OscillatorNode(AudioContext*, float sampleRate);
|
|
|
| @@ -82,10 +84,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;
|
|
|
| @@ -100,7 +102,7 @@ private:
|
| AudioFloatArray m_phaseIncrements;
|
| AudioFloatArray m_detuneValues;
|
|
|
| - RefPtr<PeriodicWave> m_periodicWave;
|
| + RefPtrWillBeMember<PeriodicWave> m_periodicWave;
|
| };
|
|
|
| } // namespace WebCore
|
|
|