summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/views/infobars/translate_infobars.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/views/infobars/translate_infobars.cc b/chrome/browser/views/infobars/translate_infobars.cc
index fca63f5..21482a2 100644
--- a/chrome/browser/views/infobars/translate_infobars.cc
+++ b/chrome/browser/views/infobars/translate_infobars.cc
@@ -299,6 +299,8 @@ void TranslateInfoBar::UpdateState(
break;
case TranslateInfoBarDelegate::kTranslating:
+ if (!label_1_)
+ CreateLabels();
if (!translating_label_) {
translating_label_ = new views::Label(
l10n_util::GetString(IDS_TRANSLATE_INFOBAR_TRANSLATING));