Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: ios/chrome/browser/history/history_service_factory.cc

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698