Fix URL formatting in Verbatim Match suggestion.

This change updates the formatting used for URL in
verbatim match suggestion. The change also replaces
full synchronous classify pass on current website with
simple history lookup (since the user is already on
that page).

Bug: 955827
Change-Id: Ib26dd442d5173f27ac6b6fac2f1432e099031a5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2718388
Commit-Queue: Tomasz Wiszkowski <[email protected]>
Reviewed-by: Justin Donnelly <[email protected]>
Reviewed-by: Filip Gorski <[email protected]>
Cr-Commit-Position: refs/heads/master@{#861716}
diff --git a/components/omnibox/browser/clipboard_provider.cc b/components/omnibox/browser/clipboard_provider.cc
index c912ee14..0078dab 100644
--- a/components/omnibox/browser/clipboard_provider.cc
+++ b/components/omnibox/browser/clipboard_provider.cc
@@ -254,9 +254,8 @@
         (base::FeatureList::IsEnabled(omnibox::kDisplayTitleForCurrentUrl))
             ? input.current_title()
             : base::string16();
-    AutocompleteMatch verbatim_match =
-        VerbatimMatchForURL(client_, input, input.current_url(), description,
-                            history_url_provider_, -1);
+    AutocompleteMatch verbatim_match = VerbatimMatchForURL(
+        this, client_, input, input.current_url(), description, -1);
     matches_.push_back(verbatim_match);
   }