| Index: third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNodeTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNodeTest.cpp b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNodeTest.cpp
|
| index 67bd8b740608542b1ec7144d792c369202400f39..e04a567a5470d1414cca0a2d6f4ecd3c6b4f3709 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNodeTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNodeTest.cpp
|
| @@ -2,17 +2,18 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "modules/webaudio/DynamicsCompressorNode.h"
|
| #include "core/testing/DummyPageHolder.h"
|
| #include "modules/webaudio/AbstractAudioContext.h"
|
| +#include "modules/webaudio/DynamicsCompressorNode.h"
|
| #include "modules/webaudio/OfflineAudioContext.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| TEST(DynamicsCompressorNodeTest, ProcessorLifetime)
|
| {
|
| - OwnPtr<DummyPageHolder> page = DummyPageHolder::create();
|
| + std::unique_ptr<DummyPageHolder> page = DummyPageHolder::create();
|
| OfflineAudioContext* context = OfflineAudioContext::create(&page->document(), 2, 1, 48000, ASSERT_NO_EXCEPTION);
|
| DynamicsCompressorNode* node = context->createDynamicsCompressor(ASSERT_NO_EXCEPTION);
|
| DynamicsCompressorHandler& handler = node->dynamicsCompressorHandler();
|
|
|