Index: chrome/browser/views/toolbar_view.cc |
diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc |
index 73d57a735a76de906eea05851c6d96b9d99071ba..df463708ad6c2eb9368dfa273ca16f94602386bc 100644 |
--- a/chrome/browser/views/toolbar_view.cc |
+++ b/chrome/browser/views/toolbar_view.cc |
@@ -98,17 +98,17 @@ void EncodingMenuModel::Build() { |
encoding_menu_items.begin(); |
for (; it != encoding_menu_items.end(); ++it) { |
int id = it->first; |
- std::wstring& label = it->second; |
+ string16& label = it->second; |
if (id == 0) { |
AddSeparator(); |
} else { |
if (id == IDC_ENCODING_AUTO_DETECT) { |
- AddCheckItem(id, WideToUTF16Hack(label)); |
+ AddCheckItem(id, label); |
} else { |
// Use the id of the first radio command as the id of the group. |
if (group_id <= 0) |
group_id = id; |
- AddRadioItem(id, WideToUTF16Hack(label), group_id); |
+ AddRadioItem(id, label, group_id); |
} |
} |
} |