Index: base/files/important_file_writer.cc |
diff --git a/base/files/important_file_writer.cc b/base/files/important_file_writer.cc |
index f10e7e68f5c3e35ddb7ed4ac9dcc922ae121fb80..b3564efc7e96f38049d60eab4f448ad629e0b810 100644 |
--- a/base/files/important_file_writer.cc |
+++ b/base/files/important_file_writer.cc |
@@ -84,7 +84,7 @@ bool ImportantFileWriter::WriteFileAtomically(const FilePath& path, |
return false; |
} |
- if (!file_util::ReplaceFile(tmp_file_path, path)) { |
+ if (!base::ReplaceFile(tmp_file_path, path, NULL)) { |
LogFailure(path, FAILED_RENAMING, "could not rename temporary file"); |
base::Delete(tmp_file_path, false); |
return false; |