| Index: Source/core/loader/PingLoader.cpp
|
| diff --git a/Source/core/loader/PingLoader.cpp b/Source/core/loader/PingLoader.cpp
|
| index 5e81d0177c21b3e1d649346fd708cc603ebbdb52..3de4abdf8c4b42d35fa2ab1503283e567bf0a006 100644
|
| --- a/Source/core/loader/PingLoader.cpp
|
| +++ b/Source/core/loader/PingLoader.cpp
|
| @@ -88,7 +88,7 @@ void PingLoader::sendLinkAuditPing(LocalFrame* frame, const KURL& pingURL, const
|
| ResourceRequest request(pingURL);
|
| request.setHTTPMethod("POST");
|
| request.setHTTPContentType("text/ping");
|
| - request.setHTTPBody(FormData::create("PING"));
|
| + request.setHTTPBody(EncodedFormData::create("PING"));
|
| request.setHTTPHeaderField("Cache-Control", "max-age=0");
|
| finishPingRequestInitialization(request, frame);
|
|
|
| @@ -110,7 +110,7 @@ void PingLoader::sendLinkAuditPing(LocalFrame* frame, const KURL& pingURL, const
|
| PingLoader::start(frame, request, initiatorInfo);
|
| }
|
|
|
| -void PingLoader::sendViolationReport(LocalFrame* frame, const KURL& reportURL, PassRefPtr<FormData> report, ViolationReportType type)
|
| +void PingLoader::sendViolationReport(LocalFrame* frame, const KURL& reportURL, PassRefPtr<EncodedFormData> report, ViolationReportType type)
|
| {
|
| ResourceRequest request(reportURL);
|
| request.setHTTPMethod("POST");
|
|
|