| Index: chrome/browser/interstitials/security_interstitial_page.cc
|
| diff --git a/chrome/browser/interstitials/security_interstitial_page.cc b/chrome/browser/interstitials/security_interstitial_page.cc
|
| index 2a470ad4c53dbbd200b17632262673172229c342..1736e58e1bbcb49ec9aac7d9c25517d7bf3b5e9d 100644
|
| --- a/chrome/browser/interstitials/security_interstitial_page.cc
|
| +++ b/chrome/browser/interstitials/security_interstitial_page.cc
|
| @@ -78,13 +78,8 @@ bool SecurityInterstitialPage::IsPrefEnabled(const char* pref) {
|
| }
|
|
|
| base::string16 SecurityInterstitialPage::GetFormattedHostName() const {
|
| - std::string languages;
|
| - Profile* profile =
|
| - Profile::FromBrowserContext(web_contents()->GetBrowserContext());
|
| - if (profile)
|
| - languages = profile->GetPrefs()->GetString(prefs::kAcceptLanguages);
|
| return security_interstitials::common_string_util::GetFormattedHostName(
|
| - request_url_, languages);
|
| + request_url_);
|
| }
|
|
|
| std::string SecurityInterstitialPage::GetHTMLContents() {
|
|
|