diff options
Diffstat (limited to 'chrome/browser/views/url_picker.cc')
-rw-r--r-- | chrome/browser/views/url_picker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/url_picker.cc b/chrome/browser/views/url_picker.cc index fa5418b..aa749e8 100644 --- a/chrome/browser/views/url_picker.cc +++ b/chrome/browser/views/url_picker.cc @@ -219,8 +219,8 @@ bool UrlPicker::AcceleratorPressed( void UrlPicker::OnSelectionChanged() { int selection = url_table_->FirstSelectedRow(); if (selection >= 0 && selection < url_table_model_->RowCount()) { - std::wstring languages = - profile_->GetPrefs()->GetString(prefs::kAcceptLanguages); + std::wstring languages = UTF8ToWide( + profile_->GetPrefs()->GetString(prefs::kAcceptLanguages)); // Because this gets parsed by FixupURL(), it's safe to omit the scheme or // trailing slash, and unescape most characters, but we need to not drop any // username/password, or unescape anything that changes the meaning. |