summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_commands.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_commands.cc')
-rw-r--r--chrome/browser/browser_commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_commands.cc b/chrome/browser/browser_commands.cc
index 0514dfb..8539cf2 100644
--- a/chrome/browser/browser_commands.cc
+++ b/chrome/browser/browser_commands.cc
@@ -650,7 +650,7 @@ void Browser::ExecuteCommand(int id) {
case IDC_ENCODING_WINDOWS1255:
case IDC_ENCODING_WINDOWS1258: {
UserMetrics::RecordAction(L"OverrideEncoding", profile_);
- const std::wstring cur_encoding_name =
+ const std::string cur_encoding_name =
CharacterEncoding::GetCanonicalEncodingNameByCommandId(id);
TabContents* current_tab = GetSelectedTabContents();
if (!cur_encoding_name.empty() && current_tab)