Index: trunk/src/base/memory/discardable_memory_manager.cc |
=================================================================== |
--- trunk/src/base/memory/discardable_memory_manager.cc (revision 267174) |
+++ trunk/src/base/memory/discardable_memory_manager.cc (working copy) |
@@ -114,7 +114,7 @@ |
if (std::numeric_limits<size_t>::max() - bytes_required < bytes_allocated_) |
return false; |
- *purged = !allocation->AllocateAndAcquireLock(); |
+ *purged = !allocation->AllocateAndAcquireLock(info->bytes); |
info->purgable = false; |
if (bytes_required) { |
bytes_allocated_ += bytes_required; |