| Index: third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp b/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
|
| index ae9ae322976e43fe3dc9f2d0b6a7df107280d5a6..c0046ed6be52bd0d75837b9971810c644c701c62 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp
|
| @@ -25,14 +25,14 @@
|
| #include "bindings/core/v8/ExceptionMessages.h"
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| -#include "modules/webaudio/AbstractAudioContext.h"
|
| #include "modules/webaudio/AudioBasicProcessorHandler.h"
|
| +#include "modules/webaudio/BaseAudioContext.h"
|
| #include "modules/webaudio/WaveShaperNode.h"
|
| #include "wtf/PtrUtil.h"
|
|
|
| namespace blink {
|
|
|
| -WaveShaperNode::WaveShaperNode(AbstractAudioContext& context)
|
| +WaveShaperNode::WaveShaperNode(BaseAudioContext& context)
|
| : AudioNode(context)
|
| {
|
| setHandler(AudioBasicProcessorHandler::create(AudioHandler::NodeTypeWaveShaper, *this, context.sampleRate(), wrapUnique(new WaveShaperProcessor(context.sampleRate(), 1))));
|
| @@ -40,7 +40,7 @@ WaveShaperNode::WaveShaperNode(AbstractAudioContext& context)
|
| handler().initialize();
|
| }
|
|
|
| -WaveShaperNode* WaveShaperNode::create(AbstractAudioContext& context, ExceptionState& exceptionState)
|
| +WaveShaperNode* WaveShaperNode::create(BaseAudioContext& context, ExceptionState& exceptionState)
|
| {
|
| DCHECK(isMainThread());
|
|
|
| @@ -86,7 +86,7 @@ void WaveShaperNode::setOversample(const String& type)
|
| // This is to synchronize with the changes made in
|
| // AudioBasicProcessorNode::checkNumberOfChannelsForInput() where we can
|
| // initialize() and uninitialize().
|
| - AbstractAudioContext::AutoLocker contextLocker(context());
|
| + BaseAudioContext::AutoLocker contextLocker(context());
|
|
|
| if (type == "none") {
|
| getWaveShaperProcessor()->setOversample(WaveShaperProcessor::OverSampleNone);
|
|
|