| 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 7e4fcb5c7ca55a0607566354859e7eec8666cf8f..e8f3a53b7b81df16334372cd7f123d18a1b073a3 100644
|
| --- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| @@ -471,7 +471,7 @@ void PingLoader::sendViolationReport(LocalFrame* frame, const KURL& reportURL, P
|
| ResourceRequest request(reportURL);
|
| request.setHTTPMethod(HTTPNames::POST);
|
| request.setHTTPContentType(type == ContentSecurityPolicyViolationReport ? "application/csp-report" : "application/json");
|
| - request.setHTTPBody(report);
|
| + request.setHTTPBody(std::move(report));
|
| finishPingRequestInitialization(request, frame, WebURLRequest::RequestContextPing);
|
|
|
| StoredCredentials credentialsAllowed = SecurityOrigin::create(reportURL)->isSameSchemeHostPort(frame->document()->getSecurityOrigin()) ? AllowStoredCredentials : DoNotAllowStoredCredentials;
|
|
|