Chromium Code Reviews| Index: chrome/browser/autocomplete/search_provider.cc |
| =================================================================== |
| --- chrome/browser/autocomplete/search_provider.cc (revision 93757) |
| +++ chrome/browser/autocomplete/search_provider.cc (working copy) |
| @@ -872,7 +872,10 @@ |
| if (is_keyword) { |
| match.fill_into_edit.append( |
| providers_.keyword_provider().keyword() + char16(' ')); |
| - search_start += providers_.keyword_provider().keyword().size() + 1; |
| + |
| + match.template_url = &providers_.keyword_provider(); |
|
Peter Kasting
2011/07/27 20:18:25
This line isn't necessary (line 823 already does t
|
| + match.keyword = providers_.keyword_provider().keyword(); |
| + search_start += match.keyword.size() + 1; |
| } |
| match.fill_into_edit.append(query_string); |
| // Not all suggestions start with the original input. |