Index: third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h |
diff --git a/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h b/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h |
index 608ec91319d03ab766406d36e4afcabe55ce342e..1179835bec78a3258297af5dfa669e7afcb06a37 100644 |
--- a/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h |
+++ b/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h |
@@ -11,8 +11,6 @@ |
#include "public/platform/WebDataConsumerHandle.h" |
#include "wtf/Forward.h" |
#include "wtf/PassRefPtr.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
namespace blink { |
@@ -66,7 +64,7 @@ public: |
// TODO(yhirano): obtainReader() is currently non-virtual override, and |
// will be changed into virtual override when we can use unique_ptr in |
// Blink. |
- std::unique_ptr<Reader> obtainReader(Client* client) { return wrapUnique(obtainReaderInternal(client)); } |
+ PassOwnPtr<Reader> obtainReader(Client* client) { return adoptPtr(obtainReaderInternal(client)); } |
private: |
Reader* obtainReaderInternal(Client*) override = 0; |