| Index: third_party/WebKit/Source/modules/webaudio/IIRFilterNode.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/IIRFilterNode.cpp b/third_party/WebKit/Source/modules/webaudio/IIRFilterNode.cpp
|
| index bde304df7f59c90589c682379dea197ab348585f..98d008e582f03d9d835c851984b98ca405357f91 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/IIRFilterNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/IIRFilterNode.cpp
|
| @@ -10,6 +10,7 @@
|
| #include "modules/webaudio/AbstractAudioContext.h"
|
| #include "modules/webaudio/AudioBasicProcessorHandler.h"
|
| #include "platform/Histogram.h"
|
| +#include "wtf/PtrUtil.h"
|
|
|
| namespace blink {
|
|
|
| @@ -18,7 +19,7 @@ IIRFilterNode::IIRFilterNode(AbstractAudioContext& context, const Vector<double>
|
| {
|
| setHandler(AudioBasicProcessorHandler::create(
|
| AudioHandler::NodeTypeIIRFilter, *this, context.sampleRate(),
|
| - adoptPtr(new IIRProcessor(context.sampleRate(), 1, feedforwardCoef, feedbackCoef))));
|
| + wrapUnique(new IIRProcessor(context.sampleRate(), 1, feedforwardCoef, feedbackCoef))));
|
|
|
| // Histogram of the IIRFilter order. createIIRFilter ensures that the length of |feedbackCoef|
|
| // is in the range [1, IIRFilter::kMaxOrder + 1]. The order is one less than the length of this
|
|
|