| Index: chrome/installer/setup/uninstall.cc
|
| diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
|
| index 4338cb636a1c47709af05532ed2c66a2b9b0893a..fe3754b1c173d9afa093e8039b3720ed12ad023a 100644
|
| --- a/chrome/installer/setup/uninstall.cc
|
| +++ b/chrome/installer/setup/uninstall.cc
|
| @@ -142,15 +142,14 @@ bool ScheduleParentAndGrandparentForDeletion(const FilePath& path) {
|
| bool DeleteEmptyParentDir(const FilePath& path) {
|
| bool ret = true;
|
| FilePath parent_dir = path.DirName();
|
| - if (!parent_dir.empty() && file_util::IsDirectoryEmpty(parent_dir.value())) {
|
| + if (!parent_dir.empty() && file_util::IsDirectoryEmpty(parent_dir)) {
|
| if (!file_util::Delete(parent_dir, true)) {
|
| ret = false;
|
| LOG(ERROR) << "Failed to delete folder: " << parent_dir.value();
|
| }
|
|
|
| parent_dir = parent_dir.DirName();
|
| - if (!parent_dir.empty() &&
|
| - file_util::IsDirectoryEmpty(parent_dir.value())) {
|
| + if (!parent_dir.empty() && file_util::IsDirectoryEmpty(parent_dir)) {
|
| if (!file_util::Delete(parent_dir, true)) {
|
| ret = false;
|
| LOG(ERROR) << "Failed to delete folder: " << parent_dir.value();
|
|
|