Index: ios/chrome/browser/history/history_service_factory.cc |
diff --git a/ios/chrome/browser/history/history_service_factory.cc b/ios/chrome/browser/history/history_service_factory.cc |
index c51102961d2e7a8d0d01f9f6f07a1a3d062efc36..8748271893a2ebe6ba36349f383cb5999a9877d9 100644 |
--- a/ios/chrome/browser/history/history_service_factory.cc |
+++ b/ios/chrome/browser/history/history_service_factory.cc |
@@ -76,10 +76,8 @@ scoped_ptr<KeyedService> HistoryServiceFactory::BuildServiceInstanceFor( |
make_scoped_ptr(new HistoryClientImpl( |
ios::BookmarkModelFactory::GetForBrowserState(browser_state))), |
nullptr)); |
- if (!history_service->Init( |
- browser_state->GetPrefs()->GetString(prefs::kAcceptLanguages), |
- history::HistoryDatabaseParamsForPath( |
- browser_state->GetStatePath()))) { |
+ if (!history_service->Init(history::HistoryDatabaseParamsForPath( |
+ browser_state->GetStatePath()))) { |
return nullptr; |
} |
return std::move(history_service); |