From: csagan5 <32685696+csagan5@users.noreply.github.com>
Date: Sun, 27 Oct 2019 10:21:19 +0100
Subject: Disable requests for single-word Omnibar searches

Patch from https://github.com/Eloston/ungoogled-chromium/issues/814#issuecomment-526873727

License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
---
 .../ui/omnibox/chrome_omnibox_navigation_observer.cc       | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc b/chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc
--- a/chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc
+++ b/chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc
@@ -251,13 +251,6 @@ ChromeOmniboxNavigationObserver::ChromeOmniboxNavigationObserver(
       profile_(profile),
       show_infobar_(std::move(show_infobar)) {
   NavigationUserData::CreateForNavigationHandle(navigation, this);
-  if (alternative_nav_match_.destination_url.is_valid()) {
-    loader_ = std::make_unique<AlternativeNavigationURLLoader>(
-        alternative_nav_match.destination_url, this,
-        base::BindOnce(
-            &ChromeOmniboxNavigationObserver::OnAlternativeLoaderDone, this),
-        GetURLLoaderFactory(loader_factory, profile));
-  }
 }
 
 ChromeOmniboxNavigationObserver::~ChromeOmniboxNavigationObserver() {
--
2.25.1
