base/allocator: Fix the argument type of malloc_size
malloc_size is provided only on macOS/iOS (the counterpart on GNU/Linux is malloc_usable_size) and the argument type is |const void*| [1]. This patch fixes the argument type. [1] https://opensource.apple.com/source/Libc/Libc-825.26/include/malloc/malloc.h.auto.html Change-Id: I62e57d4f7bae1098db92ede760a1fdf44746d4a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505334 Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Reviewed-by:Will Harris <wfh@chromium.org> Reviewed-by:
Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#822607}
Showing
Please register or sign in to comment