| Index: chrome/browser/autocomplete/history_quick_provider.cc
|
| ===================================================================
|
| --- chrome/browser/autocomplete/history_quick_provider.cc (revision 86194)
|
| +++ chrome/browser/autocomplete/history_quick_provider.cc (working copy)
|
| @@ -46,8 +46,13 @@
|
| bool minimal_changes) {
|
| matches_.clear();
|
|
|
| + // Don't bother with INVALID and FORCED_QUERY. Also pass when looking for
|
| + // BEST_MATCH and there is no inline autocompletion because none of the HQP
|
| + // matches can score highly enough to qualify.
|
| if ((input.type() == AutocompleteInput::INVALID) ||
|
| - (input.type() == AutocompleteInput::FORCED_QUERY))
|
| + (input.type() == AutocompleteInput::FORCED_QUERY) ||
|
| + (input.matches_requested() == AutocompleteInput::BEST_MATCH &&
|
| + input.prevent_inline_autocomplete()))
|
| return;
|
|
|
| autocomplete_input_ = input;
|
|
|