| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index 81e7b518961f9e9856948376b00d4c8658fb42fb..9d254cb49f3b89bf7cc65bc3a509c6f6920244e5 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -204,7 +204,6 @@ scoped_ptr<KeyedService> BuildInMemoryURLIndex(
|
| ServiceAccessType::IMPLICIT_ACCESS),
|
| TemplateURLServiceFactory::GetForProfile(profile),
|
| content::BrowserThread::GetBlockingPool(), profile->GetPath(),
|
| - profile->GetPrefs()->GetString(prefs::kAcceptLanguages),
|
| SchemeSet()));
|
| in_memory_url_index->Init();
|
| return std::move(in_memory_url_index);
|
| @@ -216,7 +215,6 @@ scoped_ptr<KeyedService> BuildBookmarkModel(content::BrowserContext* context) {
|
| new BookmarkModel(make_scoped_ptr(new ChromeBookmarkClient(
|
| profile, ManagedBookmarkServiceFactory::GetForProfile(profile)))));
|
| bookmark_model->Load(profile->GetPrefs(),
|
| - profile->GetPrefs()->GetString(prefs::kAcceptLanguages),
|
| profile->GetPath(),
|
| profile->GetIOTaskRunner(),
|
| content::BrowserThread::GetMessageLoopProxyForThread(
|
| @@ -547,8 +545,7 @@ bool TestingProfile::CreateHistoryService(bool delete_file, bool no_db) {
|
| HistoryServiceFactory::GetInstance()->SetTestingFactoryAndUse(
|
| this, BuildHistoryService));
|
| if (!history_service->Init(
|
| - no_db, GetPrefs()->GetString(prefs::kAcceptLanguages),
|
| - history::HistoryDatabaseParamsForPath(GetPath()))) {
|
| + no_db, history::HistoryDatabaseParamsForPath(GetPath()))) {
|
| HistoryServiceFactory::GetInstance()->SetTestingFactory(this, nullptr);
|
| return false;
|
| }
|
|
|