Index: util/file/file_writer.cc |
diff --git a/util/file/file_writer.cc b/util/file/file_writer.cc |
index d6ab9e7c11b53e00634d25a7d125c77ddfb36f8a..4794c7f074ee47a1c648349f55829a5cef047b28 100644 |
--- a/util/file/file_writer.cc |
+++ b/util/file/file_writer.cc |
@@ -45,9 +45,9 @@ FileWriter::~FileWriter() { |
bool FileWriter::Open(const base::FilePath& path, |
FileWriteMode write_mode, |
- bool world_readable) { |
+ FilePermissions permissions) { |
CHECK(!file_.is_valid()); |
- file_.reset(LoggingOpenFileForWrite(path, write_mode, world_readable)); |
+ file_.reset(LoggingOpenFileForWrite(path, write_mode, permissions)); |
return file_.is_valid(); |
} |