Index: base/memory/discardable_shared_memory.cc |
diff --git a/base/memory/discardable_shared_memory.cc b/base/memory/discardable_shared_memory.cc |
index eb9e55236218a4af9861753a8af93445aedc6ef4..82bc9831b5f5e14dcb7acabad24a86f4e08e4f8b 100644 |
--- a/base/memory/discardable_shared_memory.cc |
+++ b/base/memory/discardable_shared_memory.cc |
@@ -353,6 +353,7 @@ bool DiscardableSharedMemory::IsMemoryResident() const { |
void DiscardableSharedMemory::Close() { |
shared_memory_.Unmap(); |
shared_memory_.Close(); |
+ mapped_size_ = 0; |
} |
Time DiscardableSharedMemory::Now() const { |