| Index: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| index 737dfbe9a27d714977cf17dc0e3e9491b4938cd1..1b98d50d66722b1add156167b975cc3e442aec36 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| @@ -94,7 +94,7 @@ class EmptyDataHandle final : public WebDataConsumerHandle {
|
| };
|
|
|
| std::unique_ptr<Reader> obtainReader(Client* client) override {
|
| - return WTF::wrapUnique(new EmptyDataReader(client));
|
| + return makeUnique<EmptyDataReader>(client);
|
| }
|
| const char* debugName() const override { return "EmptyDataHandle"; }
|
| };
|
| @@ -527,8 +527,7 @@ bool DocumentThreadableLoader::redirectReceived(
|
| // TODO(horo): If we support any API which expose the internal body, we will
|
| // have to read the body. And also HTTPCache changes will be needed because
|
| // it doesn't store the body of redirect responses.
|
| - responseReceived(resource, redirectResponse,
|
| - wrapUnique(new EmptyDataHandle()));
|
| + responseReceived(resource, redirectResponse, makeUnique<EmptyDataHandle>());
|
|
|
| if (m_client) {
|
| DCHECK(m_actualRequest.isNull());
|
|
|