Chromium Code Reviews| Index: chrome/browser/ui/toolbar/encoding_menu_controller.cc |
| diff --git a/chrome/browser/ui/toolbar/encoding_menu_controller.cc b/chrome/browser/ui/toolbar/encoding_menu_controller.cc |
| index d28a4378214c5743c9d7cc8e46b1971622a29c1c..adf80e194d12af1171378980bc1a87535d75b400 100644 |
| --- a/chrome/browser/ui/toolbar/encoding_menu_controller.cc |
| +++ b/chrome/browser/ui/toolbar/encoding_menu_controller.cc |
| @@ -85,8 +85,10 @@ bool EncodingMenuController::IsItemChecked( |
| return false; |
| std::string encoding = current_tab_encoding; |
| - if (encoding.empty()) |
| - encoding = browser_profile->GetPrefs()->GetString(prefs::kDefaultCharset); |
| + if (encoding.empty()) { |
| + encoding = |
| + browser_profile->GetPrefs()->GetString(prefs::kGlobalDefaultCharset); |
|
Mattias Nissler (ping if slow)
2011/12/09 09:54:44
This one is interesting. Shouldn't we actually gra
mnaganov (inactive)
2011/12/12 18:19:04
Currently we only plan to set per-tab settings pro
|
| + } |
| if (item_id == IDC_ENCODING_AUTO_DETECT) { |
| return browser_profile->GetPrefs()->GetBoolean( |