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

Unified Diff: third_party/WebKit/Source/web/WebSearchableFormData.cpp

Issue 2236573003: Update equalIgnoreCase to equalIgnoreASCIICase in Source/web (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/web/WebSearchableFormData.cpp
diff --git a/third_party/WebKit/Source/web/WebSearchableFormData.cpp b/third_party/WebKit/Source/web/WebSearchableFormData.cpp
index cd96fabf086d576471919a1ed4ec804104691903..ac45e5096e76e1fff0e69711fb5ea7ee92849902 100644
--- a/third_party/WebKit/Source/web/WebSearchableFormData.cpp
+++ b/third_party/WebKit/Source/web/WebSearchableFormData.cpp
@@ -230,7 +230,7 @@ WebSearchableFormData::WebSearchableFormData(const WebFormElement& form, const W
// Only consider forms that GET data.
// Allow HTTPS only when an input element is provided.
- if (equalIgnoringCase(formElement->getAttribute(methodAttr), "post")
+ if (equalIgnoringASCIICase(formElement->getAttribute(methodAttr), "post")
|| (!isHTTPFormSubmit(*formElement) && !inputElement))
return;

Powered by Google App Engine
This is Rietveld 408576698