| Index: chrome/browser/autocomplete/search_provider.cc
|
| diff --git a/chrome/browser/autocomplete/search_provider.cc b/chrome/browser/autocomplete/search_provider.cc
|
| index df2b04a6720388e22b1472e94ff58285e0418ca3..d9930f1d10a5d2c87e426eef4b10073ae1b910e6 100644
|
| --- a/chrome/browser/autocomplete/search_provider.cc
|
| +++ b/chrome/browser/autocomplete/search_provider.cc
|
| @@ -1128,10 +1128,12 @@ AutocompleteMatch SearchProvider::NavigationToMatch(
|
| // that we're not preventing, make sure we didn't trim any whitespace.
|
| // We don't want to claim http://foo.com/bar is inlineable against the
|
| // input "foo.com/b ".
|
| - match.allowed_to_be_default_match = navigation.IsInlineable(input) &&
|
| + match.allowed_to_be_default_match = (prefix != NULL) &&
|
| (providers_.GetKeywordProviderURL() == NULL) &&
|
| (match.inline_autocompletion.empty() ||
|
| (!input_.prevent_inline_autocomplete() && !trimmed_whitespace));
|
| + match.EnsureUWYTIsAllowedToBeDefault(
|
| + input_.canonicalized_url(), providers_.template_url_service());
|
|
|
| match.contents = navigation.match_contents();
|
| match.contents_class = navigation.match_contents_class();
|
|
|