| Index: components/omnibox/browser/autocomplete_controller.cc
|
| diff --git a/components/omnibox/browser/autocomplete_controller.cc b/components/omnibox/browser/autocomplete_controller.cc
|
| index 19be64e4f028381da1db02273df89b7138cb1dbd..7ccba89875ca16bbec693ff895dc589cd3355bb4 100644
|
| --- a/components/omnibox/browser/autocomplete_controller.cc
|
| +++ b/components/omnibox/browser/autocomplete_controller.cc
|
| @@ -424,8 +424,7 @@ void AutocompleteController::UpdateResult(
|
| result_.AppendMatches(input_, (*i)->matches());
|
|
|
| // Sort the matches and trim to a small number of "best" matches.
|
| - result_.SortAndCull(input_, provider_client_->GetAcceptLanguages(),
|
| - template_url_service_);
|
| + result_.SortAndCull(input_, template_url_service_);
|
|
|
| // Need to validate before invoking CopyOldMatches as the old matches are not
|
| // valid against the current input.
|
| @@ -436,8 +435,7 @@ void AutocompleteController::UpdateResult(
|
| if (!done_) {
|
| // This conditional needs to match the conditional in Start that invokes
|
| // StartExpireTimer.
|
| - result_.CopyOldMatches(input_, provider_client_->GetAcceptLanguages(),
|
| - last_result, template_url_service_);
|
| + result_.CopyOldMatches(input_, last_result, template_url_service_);
|
| }
|
|
|
| UpdateKeywordDescriptions(&result_);
|
|
|