Index: chrome/browser/autocomplete/history_quick_provider_unittest.cc |
=================================================================== |
--- chrome/browser/autocomplete/history_quick_provider_unittest.cc (revision 103712) |
+++ chrome/browser/autocomplete/history_quick_provider_unittest.cc (working copy) |
@@ -162,11 +162,12 @@ |
} |
history::InMemoryURLIndex* index = |
- new history::InMemoryURLIndex(FilePath(FILE_PATH_LITERAL("/dummy"))); |
+ new history::InMemoryURLIndex(profile_.get(), |
+ FilePath(FILE_PATH_LITERAL("/dummy"))); |
PrefService* prefs = profile_->GetPrefs(); |
std::string languages(prefs->GetString(prefs::kAcceptLanguages)); |
index->Init(db, languages); |
- provider_->SetIndexForTesting(index); |
+ provider_->set_index(index); |
} |
HistoryQuickProviderTest::SetShouldContain::SetShouldContain( |