default-search-icon.patch 603 B

12345678910111213
  1. ## Use the default search icon in the locationbar instead of the search engine's icon
  2. --- a/components/omnibox/browser/omnibox_view.cc
  3. +++ b/components/omnibox/browser/omnibox_view.cc
  4. @@ -205,8 +205,6 @@ ui::ImageModel OmniboxView::GetIcon(int
  5. AutocompleteMatch match = model_->CurrentMatch(nullptr);
  6. if (AutocompleteMatch::IsSearchType(match.type)) {
  7. // For search queries, display default search engine's favicon.
  8. - favicon = model_->client()->GetFaviconForDefaultSearchProvider(
  9. - std::move(on_icon_fetched));
  10. } else {
  11. // For site suggestions, display site's favicon.