| 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 0b1efca24a44e3838f39534a8a7b06a160da36f1..be53df1db221fad3d011bb39ff14122948d29d7b 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/Response.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/Response.cpp
|
| @@ -156,7 +156,7 @@ Response* Response::create(ScriptState* scriptState, ScriptValue bodyValue, cons
|
| contentType = "text/plain;charset=UTF-8";
|
| }
|
| // TODO(yhirano): Add the URLSearchParams case.
|
| - Response* response = create(scriptState, bodyHandle.release(), contentType, ResponseInit(init, exceptionState), exceptionState);
|
| + Response* response = create(scriptState, std::move(bodyHandle), contentType, ResponseInit(init, exceptionState), exceptionState);
|
| if (!exceptionState.hadException() && !reader.isEmpty()) {
|
| // Add a hidden reference so that the weak persistent in the
|
| // ReadableStreamDataConsumerHandle will be valid as long as the
|
|
|