| Index: chrome/browser/ssl/captive_portal_blocking_page.cc
|
| diff --git a/chrome/browser/ssl/captive_portal_blocking_page.cc b/chrome/browser/ssl/captive_portal_blocking_page.cc
|
| index 955fea0ee65b0ed4aeb7677b042a93e767cb6d16..9287fe4efb52f7d0c71e8f08db9e33c1ea438536 100644
|
| --- a/chrome/browser/ssl/captive_portal_blocking_page.cc
|
| +++ b/chrome/browser/ssl/captive_portal_blocking_page.cc
|
| @@ -17,6 +17,7 @@
|
| #include "chrome/browser/ssl/ssl_cert_reporter.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "components/captive_portal/captive_portal_detector.h"
|
| +#include "components/url_formatter/url_formatter.h"
|
| #include "components/wifi/wifi_service.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "grit/generated_resources.h"
|
| @@ -169,7 +170,8 @@ void CaptivePortalBlockingPage::PopulateInterstitialStrings(
|
| web_contents()->GetBrowserContext());
|
| if (profile)
|
| languages = profile->GetPrefs()->GetString(prefs::kAcceptLanguages);
|
| - base::string16 login_host = net::IDNToUnicode(login_url_.host(), languages);
|
| + base::string16 login_host =
|
| + url_formatter::IDNToUnicode(login_url_.host(), languages);
|
| if (base::i18n::IsRTL())
|
| base::i18n::WrapStringWithLTRFormatting(&login_host);
|
|
|
|
|