Index: chrome/installer/setup/setup_main.cc |
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc |
index 36eb4913289842da62b5362f4c0a3c163ce45fdc..dab094d2cfffd18616ea9d685fb8a9ccf4a7af29 100644 |
--- a/chrome/installer/setup/setup_main.cc |
+++ b/chrome/installer/setup/setup_main.cc |
@@ -940,7 +940,7 @@ installer::InstallStatus InstallProductsHelper( |
if (cmd_line.HasSwitch(installer::switches::kInstallerData)) { |
base::FilePath prefs_path(cmd_line.GetSwitchValuePath( |
installer::switches::kInstallerData)); |
- if (!base::Delete(prefs_path, true)) { |
+ if (!base::DeleteFile(prefs_path, true)) { |
LOG(ERROR) << "Failed deleting master preferences file " |
<< prefs_path.value() |
<< ", scheduling for deletion after reboot."; |