Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 3c2a90fe73855fe22e192c9b6573a493bbd2f634..100a07977a6c314b12e0a774b064a212e8714280 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()->GetString(prefs::kAcceptLanguages), |
+ history::HistoryDatabaseParamsForPath(GetPath()))) { |
HistoryServiceFactory::GetInstance()->SetTestingFactory(this, nullptr); |
return false; |
} |