Index: chrome/browser/component_updater/default_component_installer.cc |
diff --git a/chrome/browser/component_updater/default_component_installer.cc b/chrome/browser/component_updater/default_component_installer.cc |
index 56bede1d827a6864d6c71407c5cf67f368fcd0ac..9c7e6e02eda5dd2293b9ef0ba3d335d27f1a5928 100644 |
--- a/chrome/browser/component_updater/default_component_installer.cc |
+++ b/chrome/browser/component_updater/default_component_installer.cc |
@@ -161,13 +161,12 @@ void DefaultComponentInstaller::FinishRegistration( |
return; |
} |
- base::Version installed_version; |
- if (current_version_.CompareTo(base::Version(kNullVersion)) <= 0) { |
+ if (current_version_.CompareTo(base::Version(kNullVersion)) > 0) { |
content::BrowserThread::PostTask( |
content::BrowserThread::FILE, FROM_HERE, |
base::Bind(&ComponentInstallerTraits::ComponentReady, |
base::Unretained(installer_traits_.get()), |
- installed_version, |
+ current_version_, |
GetInstallDirectory())); |
} |
} |