aboutsummaryrefslogtreecommitdiff
path: root/mapped_file.cc
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2021-08-20 00:00:06 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-08-20 00:00:06 +0000
commit14faefb37a33b4140637b24a522d8d5e7fb16885 (patch)
tree1b72ff2be15bd31ec82b8d52f93f94424bb75a75 /mapped_file.cc
parent344d5f48329f23be2b203600d8379a0c52c65ee1 (diff)
parent757ee9b934efac96716b9910eaff0a229855b5d0 (diff)
downloadzucchini-14faefb37a33b4140637b24a522d8d5e7fb16885.tar.gz
Compile zucchini binary am: 539c01b948 am: 43bcfaef03 am: a4523f01a4 am: 757ee9b934
Original change: https://android-review.googlesource.com/c/platform/external/zucchini/+/1802897 Change-Id: Ie7970f03980c9283f1203277c6b15690530da8ba
Diffstat (limited to 'mapped_file.cc')
-rw-r--r--mapped_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mapped_file.cc b/mapped_file.cc
index a742414..2ea973c 100644
--- a/mapped_file.cc
+++ b/mapped_file.cc
@@ -49,7 +49,7 @@ MappedFileWriter::MappedFileWriter(const base::FilePath& file_path,
MappedFileWriter::~MappedFileWriter() {
if (!HasError() && delete_behavior_ == kManualDeleteOnClose &&
- !file_path_.empty() && !base::DeleteFile(file_path_)) {
+ !file_path_.empty() && !base::DeleteFile(file_path_, false)) {
error_ = "Failed to delete file.";
}
}