| Index: Source/core/xml/XMLHttpRequest.cpp
|
| diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp
|
| index e660069a0cf7d2038c2a8e8aa56d509edef767ff..e762afa02106332f003afa05407c16aa261c8325 100644
|
| --- a/Source/core/xml/XMLHttpRequest.cpp
|
| +++ b/Source/core/xml/XMLHttpRequest.cpp
|
| @@ -701,7 +701,7 @@ void XMLHttpRequest::send(DOMFormData* body, ExceptionState& es)
|
| return;
|
|
|
| if (areMethodAndURLValidForSend()) {
|
| - m_requestEntityBody = FormData::createMultiPart(*(static_cast<FormDataList*>(body)), body->encoding());
|
| + m_requestEntityBody = body->createMultiPartFormData(body->encoding());
|
|
|
| String contentType = getRequestHeader("Content-Type");
|
| if (contentType.isEmpty()) {
|
|
|