diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-12 23:53:40 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-12 23:53:40 +0000 |
commit | a9d0a80333a74df153dfd41dbbaff2e844b2d751 (patch) | |
tree | 9ca5df69d5e0811d1445134edc53aa89aecedbd1 /chrome/browser | |
parent | 17e642245e8a061218fb618b9fbe082e4dc852b7 (diff) | |
download | chromium_src-a9d0a80333a74df153dfd41dbbaff2e844b2d751.zip chromium_src-a9d0a80333a74df153dfd41dbbaff2e844b2d751.tar.gz chromium_src-a9d0a80333a74df153dfd41dbbaff2e844b2d751.tar.bz2 |
Fix the UI tests.
The translate manager enabling code was incorrect.
BUG=None
TEST=UI tests should pass.
TBR=kuan
Review URL: http://codereview.chromium.org/604042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/translate/translate_manager.cc | 2 |
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, |