| 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;
|
| }
|
|
|