| 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 1179835bec78a3258297af5dfa669e7afcb06a37..608ec91319d03ab766406d36e4afcabe55ce342e 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h
|
| +++ b/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h
|
| @@ -11,6 +11,8 @@
|
| #include "public/platform/WebDataConsumerHandle.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/PassRefPtr.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -64,7 +66,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.
|
| - PassOwnPtr<Reader> obtainReader(Client* client) { return adoptPtr(obtainReaderInternal(client)); }
|
| + std::unique_ptr<Reader> obtainReader(Client* client) { return wrapUnique(obtainReaderInternal(client)); }
|
|
|
| private:
|
| Reader* obtainReaderInternal(Client*) override = 0;
|
|
|