Index: base/memory/shared_memory_handle_mac.cc |
diff --git a/base/memory/shared_memory_handle_mac.cc b/base/memory/shared_memory_handle_mac.cc |
index 9dfd3c1aeacbbc1d89fb6b09ffad5c5eec3df23a..d5c5fbad415d05363678e65f6da76a7197624a2c 100644 |
--- a/base/memory/shared_memory_handle_mac.cc |
+++ b/base/memory/shared_memory_handle_mac.cc |
@@ -91,26 +91,6 @@ SharedMemoryHandle SharedMemoryHandle::Duplicate() const { |
} |
} |
-bool SharedMemoryHandle::operator==(const SharedMemoryHandle& handle) const { |
- if (!IsValid() && !handle.IsValid()) |
- return true; |
- |
- if (type_ != handle.type_) |
- return false; |
- |
- switch (type_) { |
- case POSIX: |
- return file_descriptor_.fd == handle.file_descriptor_.fd; |
- case MACH: |
- return memory_object_ == handle.memory_object_ && size_ == handle.size_ && |
- pid_ == handle.pid_; |
- } |
-} |
- |
-bool SharedMemoryHandle::operator!=(const SharedMemoryHandle& handle) const { |
- return !(*this == handle); |
-} |
- |
bool SharedMemoryHandle::IsValid() const { |
switch (type_) { |
case POSIX: |