Index: components/translate/core/browser/translate_manager.cc |
diff --git a/components/translate/core/browser/translate_manager.cc b/components/translate/core/browser/translate_manager.cc |
index a9970118034e3e73f40a23708807374f4f75ff40..089c6137cd1d00eda469fa923184ecb86f2ba540 100644 |
--- a/components/translate/core/browser/translate_manager.cc |
+++ b/components/translate/core/browser/translate_manager.cc |
@@ -220,8 +220,8 @@ void TranslateManager::InitiateTranslation(const std::string& page_lang) { |
// Querying the ranker now, but not exiting immediately so that we may log |
// other potential suppression reasons. |
- bool should_offer_translation = translate_ranker_->ShouldOfferTranslation( |
- *translate_prefs, language_code, target_lang, translate_event_.get()); |
+ bool should_offer_translation = |
+ translate_ranker_->ShouldOfferTranslation(translate_event_.get()); |
// Nothing to do if either the language Chrome is in or the language of |
// the page is not supported by the translation server. |