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 21797d7f280dbef37fa514ab0b59ab2bec381e5c..cb0976395fca58aecbdf6ec4ea4fc545450601d2 100644 |
--- a/chrome/browser/history/in_memory_url_index.cc |
+++ b/chrome/browser/history/in_memory_url_index.cc |
@@ -160,10 +160,12 @@ bool InMemoryURLIndex::GetCacheFilePath(base::FilePath* file_path) { |
ScoredHistoryMatches InMemoryURLIndex::HistoryItemsForTerms( |
const base::string16& term_string, |
- size_t cursor_position) { |
+ size_t cursor_position, |
+ size_t max_matches) { |
return private_data_->HistoryItemsForTerms( |
term_string, |
cursor_position, |
+ max_matches, |
languages_, |
BookmarkModelFactory::GetForProfile(profile_)); |
} |