summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/mapped_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/mapped_file.cc')
-rw-r--r--net/disk_cache/mapped_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/mapped_file.cc b/net/disk_cache/mapped_file.cc
index ee459da..c963063 100644
--- a/net/disk_cache/mapped_file.cc
+++ b/net/disk_cache/mapped_file.cc
@@ -40,7 +40,7 @@ void* MappedFile::Init(const std::wstring name, size_t size) {
buffer_ = NULL;
init_ = true;
- section_ = CreateFileMapping(handle(), NULL, PAGE_READWRITE, 0,
+ section_ = CreateFileMapping(os_file(), NULL, PAGE_READWRITE, 0,
static_cast<DWORD>(size), NULL);
if (!section_)
return NULL;