diff options
Diffstat (limited to 'chrome/browser/autocomplete/history_quick_provider_unittest.cc')
-rw-r--r-- | chrome/browser/autocomplete/history_quick_provider_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/autocomplete/history_quick_provider_unittest.cc b/chrome/browser/autocomplete/history_quick_provider_unittest.cc index e18e02c..26ae72e 100644 --- a/chrome/browser/autocomplete/history_quick_provider_unittest.cc +++ b/chrome/browser/autocomplete/history_quick_provider_unittest.cc @@ -146,7 +146,7 @@ void HistoryQuickProviderTest::FillData() { ASSERT_TRUE(db != NULL); history::InMemoryURLIndex* index = - new history::InMemoryURLIndex(profile_.get(), FilePath()); + new history::InMemoryURLIndex(FilePath()); PrefService* prefs = profile_->GetPrefs(); std::string languages(prefs->GetString(prefs::kAcceptLanguages)); index->Init(db, languages); @@ -161,8 +161,7 @@ void HistoryQuickProviderTest::FillData() { url_info.set_typed_count(cur.typed_count); url_info.set_last_visit(visit_time); url_info.set_hidden(false); - url_info.set_id(i); - index->UpdateURL(url_info); + index->UpdateURL(i, url_info); } provider_->set_index(index); |