0

[fuchsia] Enable backup-ref-ptr under Fuchsia

Enable backup-ref-ptr in the build, to allow checks to be applied in
the browser process of the WebEngine.

This requires a small teardown ordering fix in the CastStreamingSession.

Fuchsia-Binary-Size: Unavoidable due to raw_ptr/ref instrumentation.
Bug: 345766776, 346197731
Change-Id: Ia9597d9ccf568d4812d82a5e2a01f112debec2e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5401762
Auto-Submit: Wez <wez@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1313945}
This commit is contained in:
Wez
2024-06-12 13:16:33 +00:00
committed by Chromium LUCI CQ
parent c91920eacb
commit 7cb29b1cc8

@ -113,8 +113,9 @@ if (_default_use_allocator_shim && _is_partition_alloc_everywhere_platform &&
use_partition_alloc_as_malloc_default = _default_allocator == "partition"
use_allocator_shim_default = _default_use_allocator_shim
_is_brp_supported = (is_win || is_android || is_linux || is_mac || is_ios ||
is_chromeos) && use_partition_alloc_as_malloc_default
_is_brp_supported =
(is_win || is_android || is_linux || is_mac || is_ios || is_chromeos ||
is_fuchsia) && use_partition_alloc_as_malloc_default
enable_backup_ref_ptr_support_default = _is_brp_supported