mac: Enable allocator shim to fix builds (see #3061)

This is a workaround for https://crbug.com/326898585
This commit is contained in:
Marshall Greenblatt 2024-04-06 11:52:48 -04:00
parent 6a2150951b
commit 43f22da146
1 changed files with 1 additions and 5 deletions

View File

@ -258,11 +258,7 @@ def GetRecommendedDefaultArgs():
# https://groups.google.com/a/chromium.org/g/chromium-packagers/c/-2VGexQAK6w/m/5K5ppK9WBAAJ
result['use_qt'] = False
if platform == 'mac':
# Disable the allocator shim. Default is True. See issue #3061.
result['use_allocator_shim'] = False
if platform == 'mac' or platform == 'linux':
if platform == 'linux':
# Use the system allocator instead of PartitionAlloc. Default is True with
# the allocator shim enabled. See issues #3061 and #3095.
result['use_partition_alloc_as_malloc'] = False