summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/translate/translate_infobars_delegates.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/translate/translate_infobars_delegates.cc b/chrome/browser/translate/translate_infobars_delegates.cc
index 9f76e85..ad0b8d5 100644
--- a/chrome/browser/translate/translate_infobars_delegates.cc
+++ b/chrome/browser/translate/translate_infobars_delegates.cc
@@ -97,8 +97,7 @@ void TranslateInfoBarDelegate::GetAvailableTargetLanguages(
}
void TranslateInfoBarDelegate::Translate() {
- if (original_lang_index_ != target_lang_index_)
- tab_contents_->TranslatePage(original_lang_code(), target_lang_code());
+ tab_contents_->TranslatePage(original_lang_code(), target_lang_code());
}
void TranslateInfoBarDelegate::TranslationDeclined() {