mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-03-11 17:40:15 +01:00
Mac: Use system allocator instead of PartitionAlloc (fixes issue #3061)
This change disables PartitionAlloc and the related allocator shim. Using the system allocator makes it easier to integrate with client applications which may perform allocations before initializing CEF.
This commit is contained in:
parent
dfc0131516
commit
2f5e1b621e
@ -236,6 +236,12 @@ def GetRecommendedDefaultArgs():
|
||||
# etc). See https://bitbucket.org/chromiumembedded/cef/issues/2679.
|
||||
result['forbid_non_component_debug_builds'] = False
|
||||
|
||||
if platform == 'mac':
|
||||
# Use the system allocator on Mac. Default is 'partition' (PartitionAlloc)
|
||||
# with the allocator shim enabled. See issue #3061.
|
||||
result['use_allocator'] = 'none'
|
||||
result['use_allocator_shim'] = False
|
||||
|
||||
if platform == 'linux':
|
||||
# Use a sysroot environment. Default is true. False is recommended for local
|
||||
# builds.
|
||||
|
Loading…
x
Reference in New Issue
Block a user