| 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 2706f7797fb829d960f171401db797851b276f54..ceb8a1d3647fdf5c3bedfe044363e95f0e9f6932 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);
|
|
|