Index: third_party/WebKit/Source/modules/webaudio/AsyncAudioDecoder.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/AsyncAudioDecoder.h b/third_party/WebKit/Source/modules/webaudio/AsyncAudioDecoder.h |
index b05694c54a470cc4f663d013b31503314123ec55..859e59f3104f0990ca8e146c385a41df24ed64a4 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AsyncAudioDecoder.h |
+++ b/third_party/WebKit/Source/modules/webaudio/AsyncAudioDecoder.h |
@@ -27,8 +27,8 @@ |
#include "platform/heap/Handle.h" |
#include "public/platform/WebThread.h" |
+#include "wtf/OwnPtr.h" |
#include "wtf/build_config.h" |
-#include <memory> |
namespace blink { |
@@ -59,7 +59,7 @@ private: |
static void decode(DOMArrayBuffer* audioData, float sampleRate, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback, ScriptPromiseResolver*, AbstractAudioContext*); |
static void notifyComplete(DOMArrayBuffer* audioData, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback, AudioBus*, ScriptPromiseResolver*, AbstractAudioContext*); |
- std::unique_ptr<WebThread> m_thread; |
+ OwnPtr<WebThread> m_thread; |
}; |
} // namespace blink |