| Index: third_party/WebKit/Source/modules/fetch/Response.cpp
|
| diff --git a/third_party/WebKit/Source/modules/fetch/Response.cpp b/third_party/WebKit/Source/modules/fetch/Response.cpp
|
| index 6d74e14dcc3f5ec1a3e38adccb29d672b83744a5..d801f76982f2ec8e30af58812dbb4f7d75159057 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/Response.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/Response.cpp
|
| @@ -29,6 +29,7 @@
|
| #include "platform/network/HTTPHeaderMap.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h"
|
| #include "wtf/RefPtr.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -146,7 +147,7 @@ Response* Response::create(ScriptState* scriptState, ScriptValue bodyValue, cons
|
| if (RuntimeEnabledFeatures::responseBodyWithV8ExtraStreamEnabled()) {
|
| bodyBuffer = new BodyStreamBuffer(scriptState, bodyValue);
|
| } else {
|
| - OwnPtr<FetchDataConsumerHandle> bodyHandle;
|
| + std::unique_ptr<FetchDataConsumerHandle> bodyHandle;
|
| reader = ReadableStreamOperations::getReader(scriptState, bodyValue, exceptionState);
|
| if (exceptionState.hadException()) {
|
| reader = ScriptValue();
|
|
|