| Index: chrome/browser/autocomplete/history_url_provider_unittest.cc
|
| diff --git a/chrome/browser/autocomplete/history_url_provider_unittest.cc b/chrome/browser/autocomplete/history_url_provider_unittest.cc
|
| index daefd65eea6dbf1bd092903a37a118fc3e2b8e37..8cc98c608ff77af1014f202560ff050ab5737ab8 100644
|
| --- a/chrome/browser/autocomplete/history_url_provider_unittest.cc
|
| +++ b/chrome/browser/autocomplete/history_url_provider_unittest.cc
|
| @@ -294,10 +294,8 @@
|
|
|
| matches_ = autocomplete_->matches();
|
| if (sort_matches_) {
|
| - TemplateURLService* service =
|
| - TemplateURLServiceFactory::GetForProfile(profile_.get());
|
| for (ACMatches::iterator i = matches_.begin(); i != matches_.end(); ++i)
|
| - i->ComputeStrippedDestinationURL(service);
|
| + i->ComputeStrippedDestinationURL(profile_.get());
|
| AutocompleteResult::DedupMatchesByDestination(
|
| input.current_page_classification(), false, &matches_);
|
| std::sort(matches_.begin(), matches_.end(),
|
|
|