| Index: third_party/WebKit/Source/modules/fetch/Request.cpp
|
| diff --git a/third_party/WebKit/Source/modules/fetch/Request.cpp b/third_party/WebKit/Source/modules/fetch/Request.cpp
|
| index a48626008431858a6e46d281163944e0bd304e30..56ad8a3f813f8be5e9e8ff91dfb3914d33d0b56e 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/Request.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/Request.cpp
|
| @@ -344,7 +344,7 @@ Request* Request::createRequestWithRequestOrString(ScriptState* scriptState, Req
|
| // contains no header named `Content-Type`, append
|
| // `Content-Type`/|Content-Type| to |r|'s Headers object. Rethrow any
|
| // exception."
|
| - temporaryBody = new BodyStreamBuffer(scriptState, init.body.release());
|
| + temporaryBody = new BodyStreamBuffer(scriptState, std::move(init.body));
|
| if (!init.contentType.isEmpty() && !r->getHeaders()->has(HTTPNames::Content_Type, exceptionState)) {
|
| r->getHeaders()->append(HTTPNames::Content_Type, init.contentType, exceptionState);
|
| }
|
|
|