| Index: third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.h
|
| diff --git a/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.h b/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.h
|
| index ac02a9c09cadc6909be08f7d033a8e490cc6ee1a..abc1e2067e488153e98b221314177ca8271d25e6 100644
|
| --- a/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.h
|
| +++ b/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.h
|
| @@ -33,10 +33,9 @@
|
|
|
| #include "platform/audio/AudioBus.h"
|
| #include "platform/audio/AudioProcessor.h"
|
| -#include "wtf/OwnPtr.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| #include "wtf/ThreadingPrimitives.h"
|
| #include "wtf/Vector.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -55,7 +54,7 @@ public:
|
|
|
| // Subclasses create the appropriate type of processing kernel here.
|
| // We'll call this to create a kernel for each channel.
|
| - virtual PassOwnPtr<AudioDSPKernel> createKernel() = 0;
|
| + virtual std::unique_ptr<AudioDSPKernel> createKernel() = 0;
|
|
|
| // AudioProcessor methods
|
| void initialize() override;
|
| @@ -69,7 +68,7 @@ public:
|
| double latencyTime() const override;
|
|
|
| protected:
|
| - Vector<OwnPtr<AudioDSPKernel>> m_kernels;
|
| + Vector<std::unique_ptr<AudioDSPKernel>> m_kernels;
|
| mutable Mutex m_processLock;
|
| bool m_hasJustReset;
|
| };
|
|
|