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

Unified Diff: third_party/WebKit/Source/core/html/forms/EmailInputType.cpp

Issue 2508033004: Reduce unnecessary usage of TextCaseSensitivity::TextCaseInsensitive. (Closed)
Patch Set: Created 4 years, 1 month 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/html/forms/EmailInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp b/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
index 07d10a31ffde23a6cce71971e7cd5403e09237bf..8891afb63e7081218fa3a9b9f5d8f7df1f5cc55d 100644
--- a/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
@@ -54,7 +54,7 @@ static const int32_t idnaConversionOption = UIDNA_CHECK_BIDI;
std::unique_ptr<ScriptRegexp> EmailInputType::createEmailRegexp() {
return std::unique_ptr<ScriptRegexp>(
- new ScriptRegexp(emailPattern, TextCaseInsensitive));
+ new ScriptRegexp(emailPattern, TextCaseUnicodeInsensitive));
}
String EmailInputType::convertEmailAddressToASCII(const ScriptRegexp& regexp,

Powered by Google App Engine
This is Rietveld 408576698