Chromium Code Reviews| Index: components/omnibox/search_provider.cc |
| diff --git a/components/omnibox/search_provider.cc b/components/omnibox/search_provider.cc |
| index 670debf1d3814e84a53f021148f752217a761492..d5144a341e442711e586f0d279bcde0c2e20f5c2 100644 |
| --- a/components/omnibox/search_provider.cc |
| +++ b/components/omnibox/search_provider.cc |
| @@ -16,6 +16,7 @@ |
| #include "base/metrics/histogram.h" |
| #include "base/metrics/user_metrics.h" |
| #include "base/rand_util.h" |
| +#include "base/strings/string_split.h" |
|
Peter Kasting
2015/06/06 01:31:24
Nit: #include not needed
Mark P
2015/06/09 19:29:38
Done.
|
| #include "base/strings/string_util.h" |
| #include "base/strings/utf_string_conversions.h" |
| #include "components/history/core/browser/in_memory_database.h" |
| @@ -1436,8 +1437,8 @@ AutocompleteMatch SearchProvider::NavigationToMatch( |
| !navigation.received_after_last_keystroke() && |
| (match.inline_autocompletion.empty() || |
| (!input_.prevent_inline_autocomplete() && !trimmed_whitespace)); |
| - match.EnsureUWYTIsAllowedToBeDefault( |
| - input_.canonicalized_url(), providers_.template_url_service()); |
| + match.EnsureUWYTIsAllowedToBeDefault(input_, |
| + providers_.template_url_service()); |
| match.contents = navigation.match_contents(); |
| match.contents_class = navigation.match_contents_class(); |