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