| Index: Source/modules/webaudio/GainNode.h
|
| diff --git a/Source/modules/webaudio/GainNode.h b/Source/modules/webaudio/GainNode.h
|
| index e0ff4f3cf53e3c8c4fd179d017f4c003366fcad3..a0886b918e8162f7f2448a0beb40bb1318a42f0f 100644
|
| --- a/Source/modules/webaudio/GainNode.h
|
| +++ b/Source/modules/webaudio/GainNode.h
|
| @@ -39,9 +39,9 @@ class AudioContext;
|
|
|
| class GainNode FINAL : public AudioNode {
|
| public:
|
| - static PassRefPtr<GainNode> create(AudioContext* context, float sampleRate)
|
| + static PassRefPtrWillBeRawPtr<GainNode> create(AudioContext* context, float sampleRate)
|
| {
|
| - return adoptRef(new GainNode(context, sampleRate));
|
| + return adoptRefWillBeNoop(new GainNode(context, sampleRate));
|
| }
|
|
|
| // AudioNode
|
| @@ -53,6 +53,8 @@ public:
|
| // JavaScript interface
|
| AudioParam* gain() { return m_gain.get(); }
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| virtual double tailTime() const OVERRIDE { return 0; }
|
| virtual double latencyTime() const OVERRIDE { return 0; }
|
| @@ -60,7 +62,7 @@ private:
|
| GainNode(AudioContext*, float sampleRate);
|
|
|
| float m_lastGain; // for de-zippering
|
| - RefPtr<AudioParam> m_gain;
|
| + RefPtrWillBeMember<AudioParam> m_gain;
|
|
|
| AudioFloatArray m_sampleAccurateGainValues;
|
| };
|
|
|