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

Unified Diff: base/files/memory_mapped_file_posix.cc

Issue 430583005: Make VEA test support videos with different coded size and visible size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address rvargas review comments Created 6 years, 4 months 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
Index: base/files/memory_mapped_file_posix.cc
diff --git a/base/files/memory_mapped_file_posix.cc b/base/files/memory_mapped_file_posix.cc
index ebf38779f039708835242eb19ed7223927a28f40..7258bffa6cd0964d57ac1c4b22384be40e9937d2 100644
--- a/base/files/memory_mapped_file_posix.cc
+++ b/base/files/memory_mapped_file_posix.cc
@@ -62,7 +62,7 @@ bool MemoryMappedFile::MapFileRegionToMemory(
data_ = static_cast<uint8*>(mmap(NULL,
map_size,
- PROT_READ,
+ PROT_READ | PROT_WRITE,
henryhsu 2014/08/27 07:22:40 The read/write permission setting should be accord
MAP_SHARED,
file_.GetPlatformFile(),
map_start));

Powered by Google App Engine
This is Rietveld 408576698