Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1668)

Unified Diff: net/disk_cache/mapped_file_posix.cc

Issue 8843: Add write and read/write support to FileStream (renamed from FileInputStream)... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/file_win.cc ('k') | net/disk_cache/mapped_file_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/mapped_file_posix.cc
===================================================================
--- net/disk_cache/mapped_file_posix.cc (revision 4450)
+++ net/disk_cache/mapped_file_posix.cc (working copy)
@@ -20,7 +20,7 @@
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)
« no previous file with comments | « net/disk_cache/file_win.cc ('k') | net/disk_cache/mapped_file_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698