Index: third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h |
index 70de4a2ed47039e44c408e77d502806f151f5531..35f1c1e49b95b80a79fd1df1f6d7359e9c0a0d46 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h |
@@ -30,10 +30,10 @@ |
#include "modules/webaudio/AudioScheduledSourceNode.h" |
#include "modules/webaudio/PannerNode.h" |
#include "platform/audio/AudioBus.h" |
+#include "wtf/OwnPtr.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefPtr.h" |
#include "wtf/Threading.h" |
-#include <memory> |
namespace blink { |
@@ -103,8 +103,8 @@ private: |
Persistent<AudioBuffer> m_buffer; |
// Pointers for the buffer and destination. |
- std::unique_ptr<const float*[]> m_sourceChannels; |
- std::unique_ptr<float*[]> m_destinationChannels; |
+ OwnPtr<const float*[]> m_sourceChannels; |
+ OwnPtr<float*[]> m_destinationChannels; |
RefPtr<AudioParamHandler> m_playbackRate; |
RefPtr<AudioParamHandler> m_detune; |