| Index: chrome/installer/setup/main.cc
|
| diff --git a/chrome/installer/setup/main.cc b/chrome/installer/setup/main.cc
|
| index 672b1a1fecbd669489815d0d8f27f02024961f1b..fd2404a454e3e23f9102e2339ab1bca0c9a8ae61 100644
|
| --- a/chrome/installer/setup/main.cc
|
| +++ b/chrome/installer/setup/main.cc
|
| @@ -326,7 +326,7 @@ bool CheckPreInstallConditions(const installer::Version* installed_version,
|
| // If no previous installation of Chrome, make sure installation directory
|
| // either does not exist or can be deleted (i.e. is not locked by some other
|
| // process).
|
| - if (installed_version) {
|
| + if (!installed_version) {
|
| std::wstring install_path(installer::GetChromeInstallPath(system_install));
|
| if (file_util::PathExists(install_path) &&
|
| !file_util::Delete(install_path, true)) {
|
|
|