| Index: third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| index 5e597c1f61d60f62421c672c0715be6baab01c4a..9a9fa8094d67fd34fe0383c76aaf29974f897208 100644
|
| --- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| @@ -125,7 +125,7 @@ class BeaconBlob final : public Beacon {
|
| else
|
| entityBody->appendBlob(m_data->uuid(), m_data->blobDataHandle());
|
|
|
| - request.setHTTPBody(entityBody.release());
|
| + request.setHTTPBody(std::move(entityBody));
|
|
|
| if (!m_contentType.isEmpty())
|
| request.setHTTPContentType(m_contentType);
|
| @@ -149,7 +149,7 @@ class BeaconDOMArrayBufferView final : public Beacon {
|
|
|
| RefPtr<EncodedFormData> entityBody =
|
| EncodedFormData::create(m_data->baseAddress(), m_data->byteLength());
|
| - request.setHTTPBody(entityBody.release());
|
| + request.setHTTPBody(std::move(entityBody));
|
|
|
| // FIXME: a reasonable choice, but not in the spec; should it give a
|
| // default?
|
|
|