Index: base/allocator/allocator_shim_override_ucrt_symbols_win.h |
diff --git a/base/allocator/allocator_shim_override_ucrt_symbols_win.h b/base/allocator/allocator_shim_override_ucrt_symbols_win.h |
index b8d0d91ff57d6f4a5bac5bcf912c839ab12d580b..9fb7d067f47a5b3f96036725ecd98b5e27c72152 100644 |
--- a/base/allocator/allocator_shim_override_ucrt_symbols_win.h |
+++ b/base/allocator/allocator_shim_override_ucrt_symbols_win.h |
@@ -48,19 +48,19 @@ int _query_new_mode() { |
// These symbols override the CRT's implementation of the same functions. |
__declspec(restrict) void* malloc(size_t size) { |
- return ShimMalloc(size); |
+ return ShimMalloc(size, nullptr); |
} |
void free(void* ptr) { |
- ShimFree(ptr); |
+ ShimFree(ptr, nullptr); |
} |
__declspec(restrict) void* realloc(void* ptr, size_t size) { |
- return ShimRealloc(ptr, size); |
+ return ShimRealloc(ptr, size, nullptr); |
} |
__declspec(restrict) void* calloc(size_t n, size_t size) { |
- return ShimCalloc(n, size); |
+ return ShimCalloc(n, size, nullptr); |
} |
// The symbols |