| 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 6a12c74618e27f20bc28258624d2805b02b95e9a..27ce9e3f142bfd0de1543f8393f33ef869a466cc 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() {
|
|
|