Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
index 3c5fd678ac1fecea60bb14820822a2c568594c3a..ab560d30ee234f92b7f70f688571ee81f4f6c760 100644 |
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
@@ -248,8 +248,8 @@ bool ContentSettingSingleRadioGroup::settings_changed() const { |
// content type and setting the default value based on the content setting. |
void ContentSettingSingleRadioGroup::SetRadioGroup() { |
GURL url = web_contents()->GetURL(); |
- base::string16 display_host = url_formatter::FormatUrlForSecurityDisplay( |
- url, profile()->GetPrefs()->GetString(prefs::kAcceptLanguages)); |
+ base::string16 display_host = |
+ url_formatter::FormatUrlForSecurityDisplay(url); |
if (display_host.empty()) |
display_host = base::ASCIIToUTF16(url.spec()); |
@@ -658,8 +658,7 @@ void ContentSettingMediaStreamBubbleModel::SetRadioGroup() { |
radio_group.url = url; |
base::string16 display_host_utf16 = |
- url_formatter::FormatUrlForSecurityDisplay( |
- url, profile()->GetPrefs()->GetString(prefs::kAcceptLanguages)); |
+ url_formatter::FormatUrlForSecurityDisplay(url); |
std::string display_host(base::UTF16ToUTF8(display_host_utf16)); |
if (display_host.empty()) |
display_host = url.spec(); |