Index: chrome/browser/autocomplete/history_quick_provider.cc |
diff --git a/chrome/browser/autocomplete/history_quick_provider.cc b/chrome/browser/autocomplete/history_quick_provider.cc |
index 049763dc4d4fe497f8aebf216f154cd1488f2bfb..e60871efbcc9da1449289215f96b38a10f036924 100644 |
--- a/chrome/browser/autocomplete/history_quick_provider.cc |
+++ b/chrome/browser/autocomplete/history_quick_provider.cc |
@@ -276,6 +276,9 @@ AutocompleteMatch HistoryQuickProvider::QuickMatchToACMatch( |
match.allowed_to_be_default_match = match.inline_autocompletion.empty() || |
!PreventInlineAutocomplete(autocomplete_input_); |
} |
+ match.EnsureUWYTIsAllowedToBeDefault( |
+ autocomplete_input_.canonicalized_url(), |
+ TemplateURLServiceFactory::GetForProfile(profile_)); |
// Format the description autocomplete presentation. |
match.description = info.title(); |