diff --git a/components/omnibox/browser/autocomplete_result.cc b/components/omnibox/browser/autocomplete_result.cc index 409ecedb830239..6c49465f81fb9e 100644 --- a/components/omnibox/browser/autocomplete_result.cc +++ b/components/omnibox/browser/autocomplete_result.cc @@ -202,18 +202,13 @@ void AutocompleteResult::SortAndCull( CompareWithDemoteByType comparing_object( input.current_page_classification()); + #if !(defined(OS_ANDROID) || defined(OS_IOS)) - // Do not cull the tail suggestions for zero prefix query suggetions of - // chromeOS launcher or NTP, since there won't be any default match in this - // scenario. - if (!(input.text().empty() && - (input.current_page_classification() == - metrics::OmniboxEventProto::CHROMEOS_APP_LIST || - BaseSearchProvider::IsNTPPage(input.current_page_classification())))) { - // Wipe tail suggestions if not exclusive (minus default match). - MaybeCullTailSuggestions(&matches_, comparing_object); - } + // Because tail suggestions are a "last resort", we cull the tail suggestions + // if there any non-default non-tail suggestions. + MaybeCullTailSuggestions(&matches_, comparing_object); #endif + DemoteOnDeviceSearchSuggestions(); DeduplicateMatches(input.current_page_classification(), &matches_);