| Index: chrome/browser/autocomplete/history_quick_provider_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/autocomplete/history_quick_provider_unittest.cc (revision 107963)
|
| +++ chrome/browser/autocomplete/history_quick_provider_unittest.cc (working copy)
|
| @@ -144,7 +144,7 @@
|
| ASSERT_TRUE(db != NULL);
|
|
|
| history::InMemoryURLIndex* index =
|
| - new history::InMemoryURLIndex(FilePath());
|
| + new history::InMemoryURLIndex(profile_.get(), FilePath());
|
| PrefService* prefs = profile_->GetPrefs();
|
| std::string languages(prefs->GetString(prefs::kAcceptLanguages));
|
| index->Init(db, languages);
|
| @@ -159,7 +159,8 @@
|
| url_info.set_typed_count(cur.typed_count);
|
| url_info.set_last_visit(visit_time);
|
| url_info.set_hidden(false);
|
| - index->UpdateURL(i, url_info);
|
| + url_info.set_id(i);
|
| + index->UpdateURL(url_info);
|
| }
|
|
|
| provider_->set_index(index);
|
|
|