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

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

Issue 2740673002: Prepare Chromium and Blink for ICU 59 (Closed)
Patch Set: fix one more file in Blink; blink_tests can be built without any error on Linux Created 3 years, 9 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
« base/i18n/unicodestring.h ('K') | « net/ftp/ftp_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 755ae39ddb5aa61af50616607431d2c6bdadbf52..95caa2da95275e008829958055be230dffe7afdc 100644
--- a/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
@@ -87,7 +87,8 @@ String EmailInputType::convertEmailAddressToASCII(const ScriptRegexp& regexp,
StringBuilder builder;
builder.append(address, 0, atPosition + 1);
- builder.append(domainName.getBuffer(), domainName.length());
+ builder.append(reinterpret_cast<const UChar*>(domainName.getBuffer()),
+ domainName.length());
String asciiEmail = builder.toString();
return isValidEmailAddress(regexp, asciiEmail) ? asciiEmail : address;
}
« base/i18n/unicodestring.h ('K') | « net/ftp/ftp_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698