| 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 3690708b83e1785063ddf754a5432be16fdc2804..dbbd1ef7bb5660e450844de843ac31ea0b5da6fd 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
|
| @@ -97,11 +97,7 @@ String EmailInputType::convertEmailAddressToUnicode(const String& address) const
|
| if (address.find("xn--", atPosition + 1) == kNotFound)
|
| return address;
|
|
|
| - if (!chromeClient())
|
| - return address;
|
| -
|
| - String languages = chromeClient()->acceptLanguages();
|
| - String unicodeHost = Platform::current()->convertIDNToUnicode(address.substring(atPosition + 1), languages);
|
| + String unicodeHost = Platform::current()->convertIDNToUnicode(address.substring(atPosition + 1));
|
| StringBuilder builder;
|
| builder.append(address, 0, atPosition + 1);
|
| builder.append(unicodeHost);
|
|
|