Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 7f49296f44b09f6d60f80d22b7e869255934cb0e..2493f61930632b97e094230c1d07a2db3424f28b 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -568,7 +568,8 @@ bool TestingProfile::CreateHistoryService(bool delete_file, bool no_db) { |
HistoryServiceFactory::GetInstance()->SetTestingFactoryAndUse( |
this, BuildHistoryService)); |
if (!history_service->Init( |
- no_db, history::HistoryDatabaseParamsForPath(this->GetPath()))) { |
+ no_db, GetPrefs(), |
+ history::HistoryDatabaseParamsForPath(GetPath()))) { |
HistoryServiceFactory::GetInstance()->SetTestingFactoryAndUse(this, NULL); |
} |
// Disable WebHistoryService by default, since it makes network requests. |