Index: third_party/WebKit/Source/core/html/HTMLMediaSource.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaSource.h b/third_party/WebKit/Source/core/html/HTMLMediaSource.h |
index 796e6f446639cb7ac7b32ec973c2e6609093aef0..bdee97397ee98e5de189b985164babd50c206a5b 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMediaSource.h |
+++ b/third_party/WebKit/Source/core/html/HTMLMediaSource.h |
@@ -35,6 +35,7 @@ |
#include "core/html/URLRegistry.h" |
#include "platform/heap/Handle.h" |
#include "wtf/Forward.h" |
+#include <memory> |
namespace blink { |
@@ -55,7 +56,7 @@ public: |
// Once attached, the source uses the element to synchronously service some |
// API operations like duration change that may need to initiate seek. |
virtual bool attachToElement(HTMLMediaElement*) = 0; |
- virtual void setWebMediaSourceAndOpen(PassOwnPtr<WebMediaSource>) = 0; |
+ virtual void setWebMediaSourceAndOpen(std::unique_ptr<WebMediaSource>) = 0; |
virtual void close() = 0; |
virtual bool isClosed() const = 0; |
virtual double duration() const = 0; |