Index: third_party/WebKit/Source/core/loader/FormSubmission.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FormSubmission.cpp b/third_party/WebKit/Source/core/loader/FormSubmission.cpp |
index 74c3c6b30b762957c20e9ab30c21ea054f6dc5b0..2c957c61e0d7d1d56da465cec95d5e293535d59a 100644 |
--- a/third_party/WebKit/Source/core/loader/FormSubmission.cpp |
+++ b/third_party/WebKit/Source/core/loader/FormSubmission.cpp |
@@ -208,7 +208,7 @@ PassRefPtrWillBeRawPtr<FormSubmission> FormSubmission::create(HTMLFormElement* f |
isMultiPartForm = false; |
} |
} |
- WTF::TextEncoding dataEncoding = isMailtoForm ? UTF8Encoding() : FormDataEncoder::encodingFromAcceptCharset(copiedAttributes.acceptCharset(), document.charset(), document.defaultCharset()); |
+ WTF::TextEncoding dataEncoding = isMailtoForm ? UTF8Encoding() : FormDataEncoder::encodingFromAcceptCharset(copiedAttributes.acceptCharset(), document.characterSet(), document.defaultCharset()); |
FormData* domFormData = FormData::create(dataEncoding.encodingForFormSubmission()); |
bool containsPasswordData = false; |