Index: base/memory/shared_memory_unittest.cc |
diff --git a/base/memory/shared_memory_unittest.cc b/base/memory/shared_memory_unittest.cc |
index d87fad01d3f0c83cc3c3534b7e4bacaf600dce68..2da99e817d880cfde7d91cc2cc4b7c4229a8c98d 100644 |
--- a/base/memory/shared_memory_unittest.cc |
+++ b/base/memory/shared_memory_unittest.cc |
@@ -221,7 +221,7 @@ TEST(SharedMemoryTest, CloseNoUnmap) { |
memory.Close(); |
EXPECT_EQ(ptr, memory.memory()); |
- EXPECT_EQ(SharedMemory::NULLHandle(), memory.handle()); |
+ EXPECT_TRUE(!memory.handle().IsValid()); |
for (size_t i = 0; i < kDataSize; i++) { |
EXPECT_EQ('G', ptr[i]); |