| Index: ios/chrome/browser/ui/history/history_service_facade.mm
|
| diff --git a/ios/chrome/browser/ui/history/history_service_facade.mm b/ios/chrome/browser/ui/history/history_service_facade.mm
|
| index d228b76021d651c6832a33057d6d4ae348572a0b..fb181b913c8f11287f10be9903380af5bc3b979e 100644
|
| --- a/ios/chrome/browser/ui/history/history_service_facade.mm
|
| +++ b/ios/chrome/browser/ui/history/history_service_facade.mm
|
| @@ -275,11 +275,11 @@ void HistoryServiceFacade::QueryComplete(const base::string16& search_text,
|
| DCHECK_EQ(0U, query_results_.size());
|
| query_results_.reserve(results->size());
|
|
|
| - for (history::URLResult* result : *results) {
|
| + for (const auto& result : *results) {
|
| query_results_.push_back(history::HistoryEntry(
|
| - history::HistoryEntry::LOCAL_ENTRY, result->url(), result->title(),
|
| - result->visit_time(), std::string(), !search_text.empty(),
|
| - result->snippet().text(), result->blocked_visit()));
|
| + history::HistoryEntry::LOCAL_ENTRY, result.url(), result.title(),
|
| + result.visit_time(), std::string(), !search_text.empty(),
|
| + result.snippet().text(), result.blocked_visit()));
|
| }
|
|
|
| results_info_value_.query = search_text;
|
|
|