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

Unified Diff: third_party/WebKit/Source/core/loader/FormSubmission.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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/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 9689878eaa06264fb8ff00ca06457e84c0373114..5247244ad8c121bde93e857d1812fbe97a1caf42 100644
--- a/third_party/WebKit/Source/core/loader/FormSubmission.cpp
+++ b/third_party/WebKit/Source/core/loader/FormSubmission.cpp
@@ -67,7 +67,7 @@ static void AppendMailtoPostFormDataToURL(KURL& url,
const String& encoding_type) {
String body = data.FlattenToString();
- if (EqualIgnoringCase(encoding_type, "text/plain")) {
+ if (DeprecatedEqualIgnoringCase(encoding_type, "text/plain")) {
// Convention seems to be to decode, and s/&/\r\n/. Also, spaces are encoded
// as %20.
body = DecodeURLEscapeSequences(
@@ -94,9 +94,9 @@ void FormSubmission::Attributes::ParseAction(const String& action) {
}
AtomicString FormSubmission::Attributes::ParseEncodingType(const String& type) {
- if (EqualIgnoringCase(type, "multipart/form-data"))
+ if (DeprecatedEqualIgnoringCase(type, "multipart/form-data"))
return AtomicString("multipart/form-data");
- if (EqualIgnoringCase(type, "text/plain"))
+ if (DeprecatedEqualIgnoringCase(type, "text/plain"))
return AtomicString("text/plain");
return AtomicString("application/x-www-form-urlencoded");
}
@@ -108,9 +108,9 @@ void FormSubmission::Attributes::UpdateEncodingType(const String& type) {
FormSubmission::SubmitMethod FormSubmission::Attributes::ParseMethodType(
const String& type) {
- if (EqualIgnoringCase(type, "post"))
+ if (DeprecatedEqualIgnoringCase(type, "post"))
return FormSubmission::kPostMethod;
- if (EqualIgnoringCase(type, "dialog"))
+ if (DeprecatedEqualIgnoringCase(type, "dialog"))
return FormSubmission::kDialogMethod;
return FormSubmission::kGetMethod;
}
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698