Index: base/memory/shared_memory_nacl.cc |
diff --git a/base/memory/shared_memory_nacl.cc b/base/memory/shared_memory_nacl.cc |
index 41416a1d7f8303d9070b3b675ca26f82343df68c..4a1fa11141bf7adc06db9b5797ef0d5a7599ceff 100644 |
--- a/base/memory/shared_memory_nacl.cc |
+++ b/base/memory/shared_memory_nacl.cc |
@@ -24,7 +24,7 @@ |
requested_size_(0) { |
} |
-SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only) |
+SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only) |
: mapped_file_(handle.fd), |
mapped_size_(0), |
memory_(NULL), |
@@ -32,8 +32,7 @@ |
requested_size_(0) { |
} |
-SharedMemory::SharedMemory(const SharedMemoryHandle& handle, |
- bool read_only, |
+SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only, |
ProcessHandle process) |
: mapped_file_(handle.fd), |
mapped_size_(0), |