| Index: chrome/installer/util/copy_tree_work_item.cc
|
| diff --git a/chrome/installer/util/copy_tree_work_item.cc b/chrome/installer/util/copy_tree_work_item.cc
|
| index 0e847b19d6abdaff232632f7c47cafd9b6c7d9f2..1ec3c8a83774b0cabe23f6475738065717330aca 100644
|
| --- a/chrome/installer/util/copy_tree_work_item.cc
|
| +++ b/chrome/installer/util/copy_tree_work_item.cc
|
| @@ -109,7 +109,7 @@ void CopyTreeWorkItem::Rollback() {
|
| // If this does happen sometimes, we may consider using Move instead of
|
| // Delete here. For now we just log the error and continue with the
|
| // rest of rollback operation.
|
| - if (copied_to_dest_path_ && !base::Delete(dest_path_, true)) {
|
| + if (copied_to_dest_path_ && !base::DeleteFile(dest_path_, true)) {
|
| LOG(ERROR) << "Can not delete " << dest_path_.value();
|
| }
|
| if (moved_to_backup_) {
|
| @@ -120,7 +120,7 @@ void CopyTreeWorkItem::Rollback() {
|
| }
|
| }
|
| if (copied_to_alternate_path_ &&
|
| - !base::Delete(alternative_path_, true)) {
|
| + !base::DeleteFile(alternative_path_, true)) {
|
| LOG(ERROR) << "Can not delete " << alternative_path_.value();
|
| }
|
| }
|
|
|