Index: cloud_print/common/win/install_utils.cc |
diff --git a/cloud_print/common/win/install_utils.cc b/cloud_print/common/win/install_utils.cc |
index 0edb1613ee475d25dca2fda2ac2b72ebb6415539..ea13714f662638c87130bf363d6a96b1f772aa8e 100644 |
--- a/cloud_print/common/win/install_utils.cc |
+++ b/cloud_print/common/win/install_utils.cc |
@@ -175,7 +175,7 @@ void DeleteProgramDir(const std::string& delete_switch) { |
if (!file_util::CreateTemporaryFile(&temp_path)) |
return; |
base::CopyFile(installer_source, temp_path); |
- base::DeleteAfterReboot(temp_path); |
+ base::DeleteFileAfterReboot(temp_path); |
CommandLine command_line(temp_path); |
command_line.AppendSwitchPath(delete_switch, installer_source.DirName()); |
base::LaunchOptions options; |