Chromium Code Reviews| Index: base/memory/shared_memory_unittest.cc |
| diff --git a/base/memory/shared_memory_unittest.cc b/base/memory/shared_memory_unittest.cc |
| index 8251f6084021c737ba01fb3986513d52da254d23..f29865c21aee054cc1368968263d8b317d53ea10 100644 |
| --- a/base/memory/shared_memory_unittest.cc |
| +++ b/base/memory/shared_memory_unittest.cc |
| @@ -592,11 +592,6 @@ TEST(SharedMemoryTest, UnsafeImageSection) { |
| EXPECT_FALSE(shared_memory_open.Map(1)); |
| EXPECT_EQ(nullptr, shared_memory_open.memory()); |
| - SharedMemory shared_memory_handle_dup( |
|
stanisc
2016/06/29 18:36:18
This part of the test is redundant (identical to t
|
| - SharedMemoryHandle(section_handle.Get(), ::GetCurrentProcessId()), true); |
| - EXPECT_FALSE(shared_memory_handle_dup.Map(1)); |
| - EXPECT_EQ(nullptr, shared_memory_handle_dup.memory()); |
| - |
| SharedMemory shared_memory_handle_local( |
| SharedMemoryHandle(section_handle.Take(), ::GetCurrentProcessId()), true); |
| EXPECT_FALSE(shared_memory_handle_local.Map(1)); |