Index: chrome/browser/autocomplete/history_url_provider_unittest.cc |
=================================================================== |
--- chrome/browser/autocomplete/history_url_provider_unittest.cc (revision 119905) |
+++ chrome/browser/autocomplete/history_url_provider_unittest.cc (working copy) |
@@ -232,6 +232,8 @@ |
matches_ = autocomplete_->matches(); |
if (sort_matches_) { |
+ for (ACMatches::iterator i = matches_.begin(); i != matches_.end(); ++i) |
+ i->ComputeStrippedDestinationURL(); |
std::sort(matches_.begin(), matches_.end(), |
&AutocompleteMatch::DestinationSortFunc); |
matches_.erase(std::unique(matches_.begin(), matches_.end(), |