| Index: chrome/browser/ui/views/location_bar/keyword_hint_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/location_bar/keyword_hint_view.cc (revision 71269)
|
| +++ chrome/browser/ui/views/location_bar/keyword_hint_view.cc (working copy)
|
| @@ -58,15 +58,15 @@
|
|
|
| std::vector<size_t> content_param_offsets;
|
| bool is_extension_keyword;
|
| - std::wstring short_name = profile_->GetTemplateURLModel()->
|
| - GetKeywordShortName(keyword, &is_extension_keyword);
|
| + string16 short_name = profile_->GetTemplateURLModel()->
|
| + GetKeywordShortName(WideToUTF16Hack(keyword), &is_extension_keyword);
|
| int message_id = is_extension_keyword ?
|
| IDS_OMNIBOX_EXTENSION_KEYWORD_HINT : IDS_OMNIBOX_KEYWORD_HINT;
|
| const std::wstring keyword_hint =
|
| UTF16ToWide(l10n_util::GetStringFUTF16(
|
| message_id,
|
| string16(),
|
| - WideToUTF16(short_name),
|
| + short_name,
|
| &content_param_offsets));
|
| if (content_param_offsets.size() == 2) {
|
| leading_label_->SetText(
|
|
|