Index: chrome/browser/history/in_memory_url_index.cc |
diff --git a/chrome/browser/history/in_memory_url_index.cc b/chrome/browser/history/in_memory_url_index.cc |
index 32fb87c7f92785830f34bd19b6b750c3c2844f26..7581c8a9b9e8a46ee071555dfc707d9275fad960 100644 |
--- a/chrome/browser/history/in_memory_url_index.cc |
+++ b/chrome/browser/history/in_memory_url_index.cc |
@@ -81,10 +81,8 @@ InMemoryURLIndex::RebuildPrivateDataFromHistoryDBTask:: |
InMemoryURLIndex::InMemoryURLIndex(HistoryService* history_service, |
const base::FilePath& history_dir, |
- const std::string& languages, |
- HistoryClient* history_client) |
+ const std::string& languages) |
: history_service_(history_service), |
- history_client_(history_client), |
history_dir_(history_dir), |
languages_(languages), |
private_data_(new URLIndexPrivateData), |
@@ -142,13 +140,11 @@ bool InMemoryURLIndex::GetCacheFilePath(base::FilePath* file_path) { |
ScoredHistoryMatches InMemoryURLIndex::HistoryItemsForTerms( |
const base::string16& term_string, |
size_t cursor_position, |
- size_t max_matches) { |
- return private_data_->HistoryItemsForTerms( |
- term_string, |
- cursor_position, |
- max_matches, |
- languages_, |
- history_client_); |
+ size_t max_matches, |
+ const ScoredHistoryMatchClient* scored_history_match_client) { |
+ return private_data_->HistoryItemsForTerms(term_string, cursor_position, |
+ max_matches, languages_, |
+ scored_history_match_client); |
} |
// Updating -------------------------------------------------------------------- |