diff options
Diffstat (limited to 'chrome/browser/autocomplete/keyword_provider.cc')
-rw-r--r-- | chrome/browser/autocomplete/keyword_provider.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/keyword_provider.cc b/chrome/browser/autocomplete/keyword_provider.cc index 7c9f55b..79c7a08 100644 --- a/chrome/browser/autocomplete/keyword_provider.cc +++ b/chrome/browser/autocomplete/keyword_provider.cc @@ -248,8 +248,8 @@ AutocompleteMatch KeywordProvider::CreateAutocompleteMatch( // preference, score them highly regardless of whether // the input provides query text. input.prefer_keyword() || !supports_replacement), - false); - result.type = AutocompleteMatch::KEYWORD; + false, supports_replacement ? AutocompleteMatch::SEARCH_OTHER_ENGINE : + AutocompleteMatch::HISTORY_KEYWORD); result.fill_into_edit.assign(keyword); if (!remaining_input.empty() || !keyword_complete || supports_replacement) result.fill_into_edit.push_back(L' '); |