| Index: Source/modules/webaudio/GainNode.h
|
| diff --git a/Source/modules/webaudio/GainNode.h b/Source/modules/webaudio/GainNode.h
|
| index 923ae57213ae546a9a2a22a010c85121e8d7e2cc..da401a65dea6686d414015fca679d3a400673e00 100644
|
| --- a/Source/modules/webaudio/GainNode.h
|
| +++ b/Source/modules/webaudio/GainNode.h
|
| @@ -32,7 +32,7 @@
|
|
|
| namespace blink {
|
|
|
| -class AudioContext;
|
| +class AbstractAudioContext;
|
|
|
| // GainNode is an AudioNode with one input and one output which applies a gain (volume) change to the audio signal.
|
| // De-zippering (smoothing) is applied when the gain value is changed dynamically.
|
| @@ -59,13 +59,13 @@ private:
|
| class GainNode final : public AudioNode {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static GainNode* create(AudioContext&, float sampleRate);
|
| + static GainNode* create(AbstractAudioContext&, float sampleRate);
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| AudioParam* gain() const;
|
|
|
| private:
|
| - GainNode(AudioContext&, float sampleRate);
|
| + GainNode(AbstractAudioContext&, float sampleRate);
|
|
|
| Member<AudioParam> m_gain;
|
| };
|
|
|