Chromium Code Reviews| Index: src/platform-freebsd.cc | 
| diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc | 
| index a5981b19c3c11333247b103ec78a6376e30940b7..f6a426ff44be8fff1378e5fbe4b388b78a7ab9de 100644 | 
| --- a/src/platform-freebsd.cc | 
| +++ b/src/platform-freebsd.cc | 
| @@ -411,6 +411,12 @@ bool VirtualMemory::Uncommit(void* address, size_t size) { | 
| } | 
| +bool VirtualMemory::Guard(void* address) { | 
| + OS::Guard(address, OS::CommitPageSize()); | 
| + return true; | 
| 
 
Erik Corry
2012/02/23 12:00:40
You could have put this in the posix file.
 
 | 
| +} | 
| + | 
| + | 
| void* VirtualMemory::ReserveRegion(size_t size) { | 
| void* result = mmap(OS::GetRandomMmapAddr(), | 
| size, |