diff options
Diffstat (limited to 'net/disk_cache/mapped_file_posix.cc')
-rw-r--r-- | net/disk_cache/mapped_file_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/mapped_file_posix.cc b/net/disk_cache/mapped_file_posix.cc index fbcdbaa..46147ac 100644 --- a/net/disk_cache/mapped_file_posix.cc +++ b/net/disk_cache/mapped_file_posix.cc @@ -20,7 +20,7 @@ void* MappedFile::Init(const std::wstring name, size_t size) { size = GetLength(); buffer_ = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, - os_file(), 0); + platform_file(), 0); init_ = true; DCHECK(reinterpret_cast<int>(buffer_) != -1); if (reinterpret_cast<int>(buffer_) == -1) |