Index: cloud_print/virtual_driver/win/port_monitor/port_monitor.cc |
diff --git a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc |
index ab235e66b4c4102980b8620328f4392614ea237a..f71bb3f5642b4ffe7e5448a49509defbbb6b73f6 100644 |
--- a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc |
+++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc |
@@ -125,7 +125,7 @@ void DeleteLeakedFiles(const base::FilePath& dir) { |
for (base::FilePath file_path = enumerator.Next(); !file_path.empty(); |
file_path = enumerator.Next()) { |
if (enumerator.GetInfo().GetLastModifiedTime() < delete_before) |
- base::Delete(file_path, false); |
+ base::DeleteFile(file_path, false); |
} |
} |
@@ -503,7 +503,7 @@ BOOL WINAPI Monitor2EndDocPort(HANDLE port_handle) { |
} |
} |
if (delete_file) |
- base::Delete(port_data->file_path, false); |
+ base::DeleteFile(port_data->file_path, false); |
} |
if (port_data->printer_handle != NULL) { |
// Tell the spooler that the job is complete. |