| Index: third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp
|
| index 0692d9f896475035d7d5b54864c17d3c6d16e8da..20ebbbb1d0a1b3097896131b00a27350ef2df6e9 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp
|
| @@ -7,9 +7,9 @@
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/dom/ExecutionContext.h"
|
| -#include "modules/webaudio/AbstractAudioContext.h"
|
| #include "modules/webaudio/AudioNodeInput.h"
|
| #include "modules/webaudio/AudioNodeOutput.h"
|
| +#include "modules/webaudio/BaseAudioContext.h"
|
| #include "platform/audio/StereoPanner.h"
|
| #include "wtf/MathExtras.h"
|
|
|
| @@ -83,7 +83,7 @@ void StereoPannerHandler::initialize()
|
| void StereoPannerHandler::setChannelCount(unsigned long channelCount, ExceptionState& exceptionState)
|
| {
|
| ASSERT(isMainThread());
|
| - AbstractAudioContext::AutoLocker locker(context());
|
| + BaseAudioContext::AutoLocker locker(context());
|
|
|
| // A PannerNode only supports 1 or 2 channels
|
| if (channelCount > 0 && channelCount <= 2) {
|
| @@ -108,7 +108,7 @@ void StereoPannerHandler::setChannelCount(unsigned long channelCount, ExceptionS
|
| void StereoPannerHandler::setChannelCountMode(const String& mode, ExceptionState& exceptionState)
|
| {
|
| ASSERT(isMainThread());
|
| - AbstractAudioContext::AutoLocker locker(context());
|
| + BaseAudioContext::AutoLocker locker(context());
|
|
|
| ChannelCountMode oldMode = m_channelCountMode;
|
|
|
| @@ -134,14 +134,14 @@ void StereoPannerHandler::setChannelCountMode(const String& mode, ExceptionState
|
|
|
| // ----------------------------------------------------------------
|
|
|
| -StereoPannerNode::StereoPannerNode(AbstractAudioContext& context, float sampleRate)
|
| +StereoPannerNode::StereoPannerNode(BaseAudioContext& context, float sampleRate)
|
| : AudioNode(context)
|
| , m_pan(AudioParam::create(context, 0))
|
| {
|
| setHandler(StereoPannerHandler::create(*this, sampleRate, m_pan->handler()));
|
| }
|
|
|
| -StereoPannerNode* StereoPannerNode::create(AbstractAudioContext& context, float sampleRate)
|
| +StereoPannerNode* StereoPannerNode::create(BaseAudioContext& context, float sampleRate)
|
| {
|
| return new StereoPannerNode(context, sampleRate);
|
| }
|
|
|