Index: third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.h b/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.h |
index ebddbff9c6281edaf9587d780d02dd4a8b59a1e2..8fe931c39362265982d0ff5af8cc2cd544a2eb65 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.h |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.h |
@@ -30,6 +30,7 @@ |
#include "platform/audio/AudioBus.h" |
#include "wtf/HashSet.h" |
#include "wtf/RefPtr.h" |
+#include <memory> |
namespace blink { |
@@ -42,7 +43,7 @@ class AudioNodeOutput final { |
public: |
// It's OK to pass 0 for numberOfChannels in which case |
// setNumberOfChannels() must be called later on. |
- static PassOwnPtr<AudioNodeOutput> create(AudioHandler*, unsigned numberOfChannels); |
+ static std::unique_ptr<AudioNodeOutput> create(AudioHandler*, unsigned numberOfChannels); |
void dispose(); |
// Causes our AudioNode to process if it hasn't already for this render quantum. |