Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1267)

Unified Diff: Source/core/xml/XMLHttpRequest.cpp

Issue 329513002: Remove encoding parameter from createMultiPartFormData() and createFormData() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/loader/FormSubmission.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/loader/FormSubmission.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698