| Index: base/shared_memory_posix.cc
|
| ===================================================================
|
| --- base/shared_memory_posix.cc (revision 15966)
|
| +++ base/shared_memory_posix.cc (working copy)
|
| @@ -70,6 +70,12 @@
|
| return SharedMemoryHandle();
|
| }
|
|
|
| +// static
|
| +void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) {
|
| + DCHECK(handle.fd >= 0);
|
| + close(handle.fd);
|
| +}
|
| +
|
| bool SharedMemory::Create(const std::wstring &name, bool read_only,
|
| bool open_existing, size_t size) {
|
| read_only_ = read_only;
|
|
|