Index: base/memory/shared_memory_handle_win.cc |
diff --git a/base/memory/shared_memory_handle_win.cc b/base/memory/shared_memory_handle_win.cc |
index a2ff91abd2c6c7cc7e2651e8ac90cf152dd5ad50..277a954daa1cd216c55c3b01333cc0fa4838d58a 100644 |
--- a/base/memory/shared_memory_handle_win.cc |
+++ b/base/memory/shared_memory_handle_win.cc |
@@ -30,18 +30,6 @@ SharedMemoryHandle& SharedMemoryHandle::operator=( |
return *this; |
} |
-bool SharedMemoryHandle::operator==(const SharedMemoryHandle& handle) const { |
- // Invalid handles are always equal. |
- if (!IsValid() && !handle.IsValid()) |
- return true; |
- |
- return handle_ == handle.handle_ && pid_ == handle.pid_; |
-} |
- |
-bool SharedMemoryHandle::operator!=(const SharedMemoryHandle& handle) const { |
- return !(*this == handle); |
-} |
- |
void SharedMemoryHandle::Close() const { |
DCHECK(handle_ != nullptr); |
DCHECK(BelongsToCurrentProcess()); |