From 7dbc1daaef90f96de9ae0fa8d713ca9f91ff93cc Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Sat, 6 Apr 2024 11:52:48 -0400 Subject: [PATCH] mac: Enable allocator shim to fix builds (see #3061) This is a workaround for https://crbug.com/326898585 --- tools/gn_args.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/gn_args.py b/tools/gn_args.py index cc5e2c8c0..7346f5fec 100644 --- a/tools/gn_args.py +++ b/tools/gn_args.py @@ -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