Index: components/omnibox/browser/history_quick_provider_unittest.cc |
diff --git a/components/omnibox/browser/history_quick_provider_unittest.cc b/components/omnibox/browser/history_quick_provider_unittest.cc |
index a5e19dd28285bbb0c9b501bc3073fc1c74bc024b..b05769c0578b6ab947c8416f6ac5c078764e482b 100644 |
--- a/components/omnibox/browser/history_quick_provider_unittest.cc |
+++ b/components/omnibox/browser/history_quick_provider_unittest.cc |
@@ -182,13 +182,12 @@ class FakeAutocompleteProviderClient : public MockAutocompleteProviderClient { |
bookmark_model_ = bookmarks::TestBookmarkClient::CreateModel(); |
if (history_dir_.CreateUniqueTempDir()) { |
history_service_ = history::CreateHistoryService( |
- history_dir_.path(), GetAcceptLanguages(), true); |
+ history_dir_.path(), true); |
} |
in_memory_url_index_.reset(new InMemoryURLIndex( |
bookmark_model_.get(), history_service_.get(), nullptr, |
- pool_owner_.pool().get(), history_dir_.path(), GetAcceptLanguages(), |
- SchemeSet())); |
+ pool_owner_.pool().get(), history_dir_.path(), SchemeSet())); |
in_memory_url_index_->Init(); |
} |
@@ -212,8 +211,6 @@ class FakeAutocompleteProviderClient : public MockAutocompleteProviderClient { |
return in_memory_url_index_.get(); |
} |
- std::string GetAcceptLanguages() const override { return "en,en-US,ko"; } |
- |
void set_in_memory_url_index(scoped_ptr<InMemoryURLIndex> index) { |
in_memory_url_index_ = std::move(index); |
} |