Index: chrome/browser/android/crash_dump_manager.cc |
diff --git a/chrome/browser/android/crash_dump_manager.cc b/chrome/browser/android/crash_dump_manager.cc |
index 6ee4e0463fd096fc3c40b681c6a5338b0e66e7de..de2923ef73d1042b7054099eb65bb334d501370e 100644 |
--- a/chrome/browser/android/crash_dump_manager.cc |
+++ b/chrome/browser/android/crash_dump_manager.cc |
@@ -91,7 +91,7 @@ void CrashDumpManager::ProcessMinidump(const base::FilePath& minidump_path, |
if (file_size == 0) { |
// Empty minidump, this process did not crash. Just remove the file. |
- r = base::Delete(minidump_path, false); |
+ r = base::DeleteFile(minidump_path, false); |
DCHECK(r) << "Failed to delete temporary minidump file " |
<< minidump_path.value(); |
return; |
@@ -115,7 +115,7 @@ void CrashDumpManager::ProcessMinidump(const base::FilePath& minidump_path, |
if (!r) { |
LOG(ERROR) << "Failed to move crash dump from " << minidump_path.value() |
<< " to " << dest_path.value(); |
- base::Delete(minidump_path, false); |
+ base::DeleteFile(minidump_path, false); |
return; |
} |
LOG(INFO) << "Crash minidump successfully generated: " << |