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

Unified Diff: third_party/WebKit/Source/platform/network/FormDataEncoder.h

Issue 1698883005: Remove internal use of Document::defaultCharset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/Source/platform/network/FormDataEncoder.h
diff --git a/third_party/WebKit/Source/platform/network/FormDataEncoder.h b/third_party/WebKit/Source/platform/network/FormDataEncoder.h
index d5c215cf53d339e124675c0544aa676f68345b65..b1cb17c9e51a29d8ad7eef9656bf5caa559abf12 100644
--- a/third_party/WebKit/Source/platform/network/FormDataEncoder.h
+++ b/third_party/WebKit/Source/platform/network/FormDataEncoder.h
@@ -34,7 +34,7 @@ namespace blink {
class PLATFORM_EXPORT FormDataEncoder {
STATIC_ONLY(FormDataEncoder);
public:
- static WTF::TextEncoding encodingFromAcceptCharset(const String& acceptCharset, const String& charset, const String& defaultCharset);
+ static WTF::TextEncoding encodingFromAcceptCharset(const String& acceptCharset, const WTF::TextEncoding& fallbackEncoding);
// Helper functions used by HTMLFormElement for multi-part form data
static Vector<char> generateUniqueBoundaryString();

Powered by Google App Engine
This is Rietveld 408576698