Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaSource.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 bdee97397ee98e5de189b985164babd50c206a5b..796e6f446639cb7ac7b32ec973c2e6609093aef0 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaSource.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaSource.h
@@ -35,7 +35,6 @@
#include "core/html/URLRegistry.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
-#include <memory>
namespace blink {
@@ -56,7 +55,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(std::unique_ptr<WebMediaSource>) = 0;
+ virtual void setWebMediaSourceAndOpen(PassOwnPtr<WebMediaSource>) = 0;
virtual void close() = 0;
virtual bool isClosed() const = 0;
virtual double duration() const = 0;

Powered by Google App Engine
This is Rietveld 408576698