diff options
Diffstat (limited to 'base/file_util.cc')
-rw-r--r-- | base/file_util.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/file_util.cc b/base/file_util.cc index edf8e69..4dae03b 100644 --- a/base/file_util.cc +++ b/base/file_util.cc @@ -320,9 +320,9 @@ bool MemoryMappedFile::Initialize(const FilePath& file_name) { } bool MemoryMappedFile::MapFileToMemory(const FilePath& file_name) { - file_ = base::CreatePlatformFile(file_name, - base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ, - NULL); + file_ = base::CreatePlatformFile( + file_name, base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ, + NULL, NULL); if (file_ == base::kInvalidPlatformFileValue) { LOG(ERROR) << "Couldn't open " << file_name.value(); |