Index: base/memory/discardable_memory_manager.cc |
diff --git a/base/memory/discardable_memory_manager.cc b/base/memory/discardable_memory_manager.cc |
index 1dff3e4da0ec396a8393de9d1607ad49dd04241c..6ede8a39cf8bbc54659468e7adb520103d2c7898 100644 |
--- a/base/memory/discardable_memory_manager.cc |
+++ b/base/memory/discardable_memory_manager.cc |
@@ -114,7 +114,7 @@ bool DiscardableMemoryManager::AcquireLock(Allocation* allocation, |
if (std::numeric_limits<size_t>::max() - bytes_required < bytes_allocated_) |
return false; |
- *purged = !allocation->AllocateAndAcquireLock(info->bytes); |
+ *purged = !allocation->AllocateAndAcquireLock(); |
info->purgable = false; |
if (bytes_required) { |
bytes_allocated_ += bytes_required; |