base/allocator: Move InitializeDefaultDispatchToMacAllocator
Moves InitializeDefaultDispatchToMacAllocator from allocator_shim_default_dispatch_to_mac_zoned_malloc.{cc,h} to allocator_interception_mac.{cc,h} so that it works with other allocator shims. The function is used to hook the standard allocation functions and not used to install our own allocator shim. So, allocator_interception_mac.{cc,h} is a better place. This patch makes PA-E on macOS compilable. Bug: 998048 Change-Id: I03f3cecc0f79febd5aec6ef4fde9a72cc0787d37 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2400781Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Benoit L <lizeb@chromium.org> Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#805811}
Showing
Please register or sign in to comment