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

Unified Diff: Source/core/platform/network/FormDataBuilder.h

Issue 25417007: Handle crash when submitting an injected form on an "image page". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test cleanup and rebase code. Created 7 years, 2 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') | Source/core/platform/network/FormDataBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/network/FormDataBuilder.h
diff --git a/Source/core/platform/network/FormDataBuilder.h b/Source/core/platform/network/FormDataBuilder.h
index e0f06adaa3ff69e4d9d0c3d50a4ca25ff503eec7..5aaa375f6e813b14baafc5f566e73723a826147f 100644
--- a/Source/core/platform/network/FormDataBuilder.h
+++ b/Source/core/platform/network/FormDataBuilder.h
@@ -33,7 +33,7 @@ namespace WebCore {
class FormDataBuilder {
WTF_MAKE_NONCOPYABLE(FormDataBuilder);
public:
- static WTF::TextEncoding encodingFromAcceptCharset(const String& acceptCharset, const String& inputEncoding);
+ static WTF::TextEncoding encodingFromAcceptCharset(const String& acceptCharset, const String& inputEncoding, const String& defaultCharset);
// Helper functions used by HTMLFormElement for multi-part form data
static Vector<char> generateUniqueBoundaryString();
« no previous file with comments | « Source/core/loader/FormSubmission.cpp ('k') | Source/core/platform/network/FormDataBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698