Index: Source/modules/webaudio/PannerNode.h |
diff --git a/Source/modules/webaudio/PannerNode.h b/Source/modules/webaudio/PannerNode.h |
index 60c91863edb247d20ef037ff041d275902a2d100..c7050af72398a620ef6f7235ff839ee77f1a04e9 100644 |
--- a/Source/modules/webaudio/PannerNode.h |
+++ b/Source/modules/webaudio/PannerNode.h |
@@ -36,6 +36,8 @@ |
namespace blink { |
+class AbstractAudioContext; |
+ |
// PannerNode is an AudioNode with one input and one output. |
// It positions a sound in 3D space, with the exact effect dependent on the panning model. |
// It has a position and an orientation in 3D space which is relative to the position and orientation of the context's AudioListener. |
@@ -105,7 +107,7 @@ public: |
private: |
PannerHandler(AudioNode&, float sampleRate); |
- // AudioContext's listener |
+ // AbstractAudioContext's listener |
AudioListener* listener(); |
bool setPanningModel(unsigned); // Returns true on success. |
@@ -156,7 +158,7 @@ private: |
class PannerNode final : public AudioNode { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PannerNode* create(AudioContext&, float sampleRate); |
+ static PannerNode* create(AbstractAudioContext&, float sampleRate); |
PannerHandler& pannerHandler() const; |
String panningModel() const; |
@@ -180,7 +182,7 @@ public: |
void setConeOuterGain(double); |
private: |
- PannerNode(AudioContext&, float sampleRate); |
+ PannerNode(AbstractAudioContext&, float sampleRate); |
}; |
} // namespace blink |