Index: third_party/WebKit/Source/platform/audio/FFTFrame.h |
diff --git a/third_party/WebKit/Source/platform/audio/FFTFrame.h b/third_party/WebKit/Source/platform/audio/FFTFrame.h |
index 2450084eb9fb641c72d9f03b9a4e96dc18e525c7..fccda3b423f022ef970350487c6769d21001612d 100644 |
--- a/third_party/WebKit/Source/platform/audio/FFTFrame.h |
+++ b/third_party/WebKit/Source/platform/audio/FFTFrame.h |
@@ -33,8 +33,8 @@ |
#include "platform/audio/AudioArray.h" |
#include "wtf/Allocator.h" |
#include "wtf/Forward.h" |
-#include "wtf/PassOwnPtr.h" |
#include "wtf/Threading.h" |
+#include <memory> |
#if OS(MACOSX) |
#include <Accelerate/Accelerate.h> |
@@ -74,7 +74,7 @@ public: |
// The remaining public methods have cross-platform implementations: |
// Interpolates from frame1 -> frame2 as x goes from 0.0 -> 1.0 |
- static PassOwnPtr<FFTFrame> createInterpolatedFrame(const FFTFrame& frame1, const FFTFrame& frame2, double x); |
+ static std::unique_ptr<FFTFrame> createInterpolatedFrame(const FFTFrame& frame1, const FFTFrame& frame2, double x); |
void doPaddedFFT(const float* data, size_t dataSize); // zero-padding with dataSize <= fftSize |
double extractAverageGroupDelay(); |
void addConstantGroupDelay(double sampleFrameDelay); |