| Index: Source/core/xml/XMLHttpRequest.cpp
|
| diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp
|
| index 70378bb5f9a0d3bb76b8b9e33b11cb657ee1e385..3befd8e2073a228de6f5b8b423db4ba35ff31784 100644
|
| --- a/Source/core/xml/XMLHttpRequest.cpp
|
| +++ b/Source/core/xml/XMLHttpRequest.cpp
|
| @@ -752,7 +752,7 @@ void XMLHttpRequest::send(DOMFormData* body, ExceptionState& exceptionState)
|
| RefPtr<FormData> httpBody;
|
|
|
| if (areMethodAndURLValidForSend()) {
|
| - httpBody = body->createMultiPartFormData(body->encoding());
|
| + httpBody = body->createMultiPartFormData();
|
|
|
| if (getRequestHeader("Content-Type").isEmpty()) {
|
| AtomicString contentType = AtomicString("multipart/form-data; boundary=", AtomicString::ConstructFromLiteral) + httpBody->boundary().data();
|
|
|