Index: Source/modules/webaudio/GainNode.h |
diff --git a/Source/modules/webaudio/GainNode.h b/Source/modules/webaudio/GainNode.h |
index 402da5fd2f598ffa541cd0ccd56e682a5a7ce011..cc6b5b8ef97c73d443a738f86173fffdf020b7ac 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 PassRefPtrWillBeRawPtr<GainNode> create(AudioContext* context, float sampleRate) |
+ static GainNode* create(AudioContext* context, float sampleRate) |
{ |
- return adoptRefWillBeNoop(new GainNode(context, sampleRate)); |
+ return new GainNode(context, sampleRate); |
} |
// AudioNode |
@@ -62,7 +62,7 @@ private: |
GainNode(AudioContext*, float sampleRate); |
float m_lastGain; // for de-zippering |
- RefPtrWillBeMember<AudioParam> m_gain; |
+ Member<AudioParam> m_gain; |
AudioFloatArray m_sampleAccurateGainValues; |
}; |