| Index: Source/core/html/EmailInputType.cpp
|
| diff --git a/Source/core/html/EmailInputType.cpp b/Source/core/html/EmailInputType.cpp
|
| index 086af07e4be05e2e3f2bd8bccec059f94f509177..d5c43b4aa10a8cd92fc7f5659af41b858e3320cb 100644
|
| --- a/Source/core/html/EmailInputType.cpp
|
| +++ b/Source/core/html/EmailInputType.cpp
|
| @@ -80,11 +80,10 @@ String EmailInputType::convertEmailAddressToUnicode(const String& address) const
|
| if (address.find("xn--", atPosition + 1) == notFound)
|
| return address;
|
|
|
| - ChromeClient* chromeClient = chrome() ? chrome()->client() : 0;
|
| - if (!chromeClient)
|
| + if (!chrome())
|
| return address;
|
|
|
| - String languages = chromeClient->acceptLanguages();
|
| + String languages = chrome()->client().acceptLanguages();
|
| String unicodeHost = WebKit::Platform::current()->convertIDNToUnicode(address.substring(atPosition + 1), languages);
|
| StringBuilder builder;
|
| builder.append(address, 0, atPosition + 1);
|
|
|