summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/translate/translate_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/translate/translate_manager.cc b/chrome/browser/translate/translate_manager.cc
index 773c066..aa2a26d 100644
--- a/chrome/browser/translate/translate_manager.cc
+++ b/chrome/browser/translate/translate_manager.cc
@@ -83,7 +83,7 @@ void TranslateManager::Observe(NotificationType type,
}
TranslateManager::TranslateManager() {
- if (TestEnabled() && !TranslationService::IsTranslationEnabled())
+ if (!TestEnabled() && !TranslationService::IsTranslationEnabled())
return;
notification_registrar_.Add(this, NotificationType::TAB_LANGUAGE_DETERMINED,