Index: base/memory/shared_memory_mac.cc |
diff --git a/base/memory/shared_memory_mac.cc b/base/memory/shared_memory_mac.cc |
index 0970fa01cc0737f1ea869b36552d5e455fac8e67..ec74b0e5525411d476961807a7dfb132df2785e9 100644 |
--- a/base/memory/shared_memory_mac.cc |
+++ b/base/memory/shared_memory_mac.cc |
@@ -79,23 +79,14 @@ bool MakeMachSharedMemoryHandleReadOnly(SharedMemoryHandle* new_handle, |
return true; |
} |
- |
} // namespace |
-SharedMemory::SharedMemory() |
- : mapped_memory_mechanism_(SharedMemoryHandle::MACH), |
- mapped_size_(0), |
- memory_(NULL), |
- read_only_(false), |
- requested_size_(0) {} |
+SharedMemory::SharedMemory() {} |
SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only) |
: mapped_memory_mechanism_(SharedMemoryHandle::POSIX), |
shm_(handle), |
- mapped_size_(0), |
- memory_(NULL), |
- read_only_(read_only), |
- requested_size_(0) {} |
+ read_only_(read_only) {} |
SharedMemory::~SharedMemory() { |
Unmap(); |