| Index: content/browser/storage_partition_impl_map.cc
|
| diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc
|
| index 1915baf8efc270137c83c6272674c8462d33792a..8b6556eec182466a37f867ef474c5fab1db36330 100644
|
| --- a/content/browser/storage_partition_impl_map.cc
|
| +++ b/content/browser/storage_partition_impl_map.cc
|
| @@ -233,7 +233,7 @@ void ObliterateOneDirectory(const base::FilePath& current_dir,
|
|
|
| switch (action) {
|
| case kDelete:
|
| - base::Delete(to_delete, true);
|
| + base::DeleteFile(to_delete, true);
|
| break;
|
|
|
| case kEnqueue:
|
| @@ -285,7 +285,7 @@ void BlockingObliteratePath(
|
| // root and be done with it. Otherwise, signal garbage collection and do
|
| // a best-effort delete of the on-disk structures.
|
| if (valid_paths_to_keep.empty()) {
|
| - base::Delete(root, true);
|
| + base::DeleteFile(root, true);
|
| return;
|
| }
|
| closure_runner->PostTask(FROM_HERE, on_gc_required);
|
| @@ -343,7 +343,7 @@ void BlockingGarbageCollect(
|
|
|
| file_access_runner->PostTask(
|
| FROM_HERE,
|
| - base::Bind(base::IgnoreResult(&base::Delete), trash_directory, true));
|
| + base::Bind(base::IgnoreResult(&base::DeleteFile), trash_directory, true));
|
| }
|
|
|
| } // namespace
|
|
|