| Index: components/omnibox/autocomplete_result.cc
|
| diff --git a/components/omnibox/autocomplete_result.cc b/components/omnibox/autocomplete_result.cc
|
| index 5d7c42c3a3ce1f0a84c7555e08d2b2ffd6febe13..0377fb6d6abb73f385d77ef7c2a349ea4dd227a5 100644
|
| --- a/components/omnibox/autocomplete_result.cc
|
| +++ b/components/omnibox/autocomplete_result.cc
|
| @@ -177,8 +177,10 @@ void AutocompleteResult::AppendMatches(const ACMatches& matches) {
|
| void AutocompleteResult::SortAndCull(
|
| const AutocompleteInput& input,
|
| TemplateURLService* template_url_service) {
|
| - for (ACMatches::iterator i(matches_.begin()); i != matches_.end(); ++i)
|
| - i->ComputeStrippedDestinationURL(template_url_service);
|
| + for (ACMatches::iterator i(matches_.begin()); i != matches_.end(); ++i) {
|
| + i->ComputeStrippedDestinationURL(
|
| + input.parts().scheme.is_nonempty(), template_url_service);
|
| + }
|
|
|
| DedupMatchesByDestination(input.current_page_classification(), true,
|
| &matches_);
|
|
|