Index: base/allocator/generic_allocators.cc |
diff --git a/base/allocator/generic_allocators.cc b/base/allocator/generic_allocators.cc |
index d12f3b976ac274c4526cc25ad143b130f0ac0203..72c4da70da9d30b10531f69a5bc017e51af643ee 100644 |
--- a/base/allocator/generic_allocators.cc |
+++ b/base/allocator/generic_allocators.cc |
@@ -16,7 +16,7 @@ inline void* generic_cpp_alloc(size_t size, bool nothrow) { |
ptr = malloc(size); |
if (ptr) |
return ptr; |
- if (!call_new_handler(nothrow)) |
+ if (!call_new_handler(nothrow, size)) |
break; |
} |
return ptr; |