| Index: third_party/WebKit/Source/modules/webaudio/DelayProcessor.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/DelayProcessor.cpp b/third_party/WebKit/Source/modules/webaudio/DelayProcessor.cpp
|
| index 3a35f865a4ba98ff6b7e48a3bbfab2882adc975e..c502851e1a26e06fe31f6b34be08318e9eac9f77 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/DelayProcessor.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/DelayProcessor.cpp
|
| @@ -22,8 +22,10 @@
|
| * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "modules/webaudio/DelayProcessor.h"
|
| #include "modules/webaudio/DelayDSPKernel.h"
|
| +#include "modules/webaudio/DelayProcessor.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -40,9 +42,9 @@ DelayProcessor::~DelayProcessor()
|
| uninitialize();
|
| }
|
|
|
| -PassOwnPtr<AudioDSPKernel> DelayProcessor::createKernel()
|
| +std::unique_ptr<AudioDSPKernel> DelayProcessor::createKernel()
|
| {
|
| - return adoptPtr(new DelayDSPKernel(this));
|
| + return wrapUnique(new DelayDSPKernel(this));
|
| }
|
|
|
| } // namespace blink
|
|
|