aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-components_gwp__asan_client_gwp__asan.cc
blob: 98f6650782c85a6398e21b3568a4f0331437ae74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/gwp_asan/client/gwp_asan.cc.orig	2024-06-18 21:43:29 UTC
+++ components/gwp_asan/client/gwp_asan.cc
@@ -75,7 +75,7 @@ namespace {
 // ProcessSamplingBoost is the multiplier to increase the
 // ProcessSamplingProbability in scenarios where we want to perform additional
 // testing (e.g., on canary/dev builds).
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
 constexpr int kDefaultMaxAllocations = 50;
 constexpr int kDefaultMaxMetadata = 210;
 constexpr int kDefaultTotalPages = kCpuIs64Bit ? 2048 : kDefaultMaxMetadata * 2;