Index: chrome/common/auto_start_linux.cc |
diff --git a/chrome/common/auto_start_linux.cc b/chrome/common/auto_start_linux.cc |
index b06c6f8b8a5b1fca612e8068e14676548d76a8e8..7d6c660d99f7c387ecb3b550e30da1045b6b7848 100644 |
--- a/chrome/common/auto_start_linux.cc |
+++ b/chrome/common/auto_start_linux.cc |
@@ -50,7 +50,7 @@ bool AutoStart::AddApplication(const std::string& autostart_filename, |
if (file_util::WriteFile(autostart_file, autostart_file_contents.c_str(), |
content_length) != |
static_cast<int>(content_length)) { |
- base::Delete(autostart_file, false); |
+ base::DeleteFile(autostart_file, false); |
return false; |
} |
return true; |
@@ -61,7 +61,7 @@ bool AutoStart::Remove(const std::string& autostart_filename) { |
base::FilePath autostart_directory = GetAutostartDirectory(environment.get()); |
base::FilePath autostart_file = |
autostart_directory.Append(autostart_filename); |
- return base::Delete(autostart_file, false); |
+ return base::DeleteFile(autostart_file, false); |
} |
bool AutoStart::GetAutostartFileContents( |