Index: components/omnibox/browser/verbatim_match.cc |
diff --git a/components/omnibox/browser/verbatim_match.cc b/components/omnibox/browser/verbatim_match.cc |
index 381ba3d2ffa7b7bdbdee3e63dfc3a7fb3d1aa149..76b2ff39194c5122b177d45535b2011411d47742 100644 |
--- a/components/omnibox/browser/verbatim_match.cc |
+++ b/components/omnibox/browser/verbatim_match.cc |
@@ -15,6 +15,7 @@ AutocompleteMatch VerbatimMatchForURL( |
AutocompleteProviderClient* client, |
const AutocompleteInput& input, |
const GURL& destination_url, |
+ const base::string16& destination_description, |
HistoryURLProvider* history_url_provider, |
int verbatim_relevance) { |
DCHECK(!input.text().empty()); |
@@ -29,6 +30,10 @@ AutocompleteMatch VerbatimMatchForURL( |
input, |
destination_url, |
!AutocompleteInput::HasHTTPScheme(input.text())); |
+ match.description = destination_description; |
+ AutocompleteMatch::ClassifyLocationInString( |
+ base::string16::npos, 0, match.description.length(), |
+ ACMatchClassification::NONE, &match.description_class); |
} else { |
client->Classify(input.text(), false, true, |
input.current_page_classification(), &match, nullptr); |