| Index: chrome/browser/autocomplete/shortcuts_provider.cc
|
| diff --git a/chrome/browser/autocomplete/shortcuts_provider.cc b/chrome/browser/autocomplete/shortcuts_provider.cc
|
| index 8ead62e723d8dad0cccf6424efd8abfcb4feb7df..0d5f8151753cf3cb512bf48d539eafab0d84d133 100644
|
| --- a/chrome/browser/autocomplete/shortcuts_provider.cc
|
| +++ b/chrome/browser/autocomplete/shortcuts_provider.cc
|
| @@ -152,7 +152,8 @@ void ShortcutsProvider::GetMatches(const AutocompleteInput& input) {
|
| if (relevance) {
|
| matches_.push_back(ShortcutToACMatch(it->second, relevance, input,
|
| fixed_up_input));
|
| - matches_.back().ComputeStrippedDestinationURL(template_url_service);
|
| + matches_.back().ComputeStrippedDestinationURL(
|
| + input.parts().scheme.is_nonempty(), template_url_service);
|
| }
|
| }
|
| // Remove duplicates. Duplicates don't need to be preserved in the matches
|
| @@ -236,7 +237,7 @@ AutocompleteMatch ShortcutsProvider::ShortcutToACMatch(
|
| }
|
| }
|
| match.EnsureUWYTIsAllowedToBeDefault(
|
| - input.canonicalized_url(),
|
| + input.canonicalized_url(), input.parts().scheme.is_nonempty(),
|
| TemplateURLServiceFactory::GetForProfile(profile_));
|
|
|
| // Try to mark pieces of the contents and description as matches if they
|
|
|