Index: chrome/browser/autocomplete/in_memory_url_index_factory.cc |
diff --git a/chrome/browser/autocomplete/in_memory_url_index_factory.cc b/chrome/browser/autocomplete/in_memory_url_index_factory.cc |
index 4d12989e7d49d2722db6f37605f728055e0097e7..42a43e38626678e0eba17303b58217c42d3a9934 100644 |
--- a/chrome/browser/autocomplete/in_memory_url_index_factory.cc |
+++ b/chrome/browser/autocomplete/in_memory_url_index_factory.cc |
@@ -10,11 +10,9 @@ |
#include "chrome/browser/profiles/incognito_helpers.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/search_engines/template_url_service_factory.h" |
-#include "chrome/common/pref_names.h" |
#include "components/keyed_service/content/browser_context_dependency_manager.h" |
#include "components/keyed_service/core/service_access_type.h" |
#include "components/omnibox/browser/in_memory_url_index.h" |
-#include "components/prefs/pref_service.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/common/url_constants.h" |
@@ -53,7 +51,6 @@ KeyedService* InMemoryURLIndexFactory::BuildServiceInstanceFor( |
ServiceAccessType::IMPLICIT_ACCESS), |
TemplateURLServiceFactory::GetForProfile(profile), |
content::BrowserThread::GetBlockingPool(), profile->GetPath(), |
- profile->GetPrefs()->GetString(prefs::kAcceptLanguages), |
chrome_schemes_to_whitelist); |
in_memory_url_index->Init(); |
return in_memory_url_index; |