| Index: base/allocator/winheap_stubs_win.h
|
| diff --git a/base/allocator/winheap_stubs_win.h b/base/allocator/winheap_stubs_win.h
|
| index 4422283c901433a946d57bb0aa559268ce7552a6..422dfe0da762049b6cb51c788ac3338a982fe721 100644
|
| --- a/base/allocator/winheap_stubs_win.h
|
| +++ b/base/allocator/winheap_stubs_win.h
|
| @@ -21,9 +21,13 @@ extern bool g_is_win_shim_layer_initialized;
|
| // Thin wrappers to implement the standard C allocation semantics on the
|
| // CRT's Windows heap.
|
| void* WinHeapMalloc(size_t size);
|
| -void WinHeapFree(void* size);
|
| +void WinHeapFree(void* ptr);
|
| void* WinHeapRealloc(void* ptr, size_t size);
|
|
|
| +// Returns a lower-bound estimate for the full amount of memory consumed by the
|
| +// the allocation |ptr|.
|
| +size_t WinHeapGetSizeEstimate(void* ptr);
|
| +
|
| // Call the new handler, if one has been set.
|
| // Returns true on successfully calling the handler, false otherwise.
|
| bool WinCallNewHandler(size_t size);
|
|
|