| Index: chrome/installer/setup/uninstall.cc
|
| diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
|
| index ac9484deffc100b2f376998c81bbb4ce421f1255..146359fd05f1d4bc412ef31bddd62a705c045c54 100644
|
| --- a/chrome/installer/setup/uninstall.cc
|
| +++ b/chrome/installer/setup/uninstall.cc
|
| @@ -442,12 +442,12 @@ DeleteResult DeleteUserDataDir(const base::FilePath& user_data_dir,
|
| if (result == DELETE_REQUIRES_REBOOT) {
|
| ScheduleParentAndGrandparentForDeletion(user_data_dir);
|
| } else {
|
| - const base::FilePath user_data_dir(user_data_dir.DirName());
|
| - if (!user_data_dir.empty() &&
|
| - DeleteEmptyDir(user_data_dir) == DELETE_SUCCEEDED) {
|
| - const base::FilePath product_dir(user_data_dir.DirName());
|
| - if (!product_dir.empty())
|
| - DeleteEmptyDir(product_dir);
|
| + const base::FilePath product_dir1(user_data_dir.DirName());
|
| + if (!product_dir1.empty() &&
|
| + DeleteEmptyDir(product_dir1) == DELETE_SUCCEEDED) {
|
| + const base::FilePath product_dir2(product_dir1.DirName());
|
| + if (!product_dir2.empty())
|
| + DeleteEmptyDir(product_dir2);
|
| }
|
| }
|
|
|
|
|