Index: components/translate/core/browser/language_state.cc |
diff --git a/components/translate/core/browser/language_state.cc b/components/translate/core/browser/language_state.cc |
index d7b65f81c5f00874db3309d8cb5aeead7b7ab997..1b4205ba7efd0c94743fd67e18ce612e6811378a 100644 |
--- a/components/translate/core/browser/language_state.cc |
+++ b/components/translate/core/browser/language_state.cc |
@@ -14,6 +14,7 @@ LanguageState::LanguageState(TranslateDriver* driver) |
translate_driver_(driver), |
page_needs_translation_(false), |
translation_pending_(false), |
+ translation_error_(false), |
translation_declined_(false), |
in_page_navigation_(false), |
translate_enabled_(false) { |
@@ -45,6 +46,7 @@ void LanguageState::DidNavigate(bool in_page_navigation, |
SetIsPageTranslated(false); |
translation_pending_ = false; |
+ translation_error_ = false; |
translation_declined_ = false; |
SetTranslateEnabled(false); |