Chromium Code Reviews| Index: chrome/browser/autocomplete/search_provider.cc |
| =================================================================== |
| --- chrome/browser/autocomplete/search_provider.cc (revision 81359) |
| +++ chrome/browser/autocomplete/search_provider.cc (working copy) |
| @@ -810,7 +810,9 @@ |
| if (is_keyword) { |
| match.fill_into_edit.append( |
| providers_.keyword_provider().keyword() + char16(' ')); |
| - match.template_url = &providers_.keyword_provider(); |
| + match.keyword_url = &providers_.keyword_provider(); |
| + match.keyword_state = AutocompleteMatch::KEYWORD; |
| + match.keyword.assign(providers_.keyword_provider().keyword()); |
|
Peter Kasting
2011/04/13 21:06:59
Nit: Just use =
|
| } |
| match.fill_into_edit.append(query_string); |
| // Not all suggestions start with the original input. |