aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator.h
blob: 57ceca3efe3a9e69871bc5bf981d1731b9ac41bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/allocator/partition_allocator/page_allocator.h.orig	2022-02-28 16:54:41 UTC
+++ base/allocator/partition_allocator/page_allocator.h
@@ -194,7 +194,7 @@ BASE_EXPORT void DecommitAndZeroSystemPages(void* addr
 // Whether decommitted memory is guaranteed to be zeroed when it is
 // recommitted. Do not assume that this will not change over time.
 constexpr BASE_EXPORT bool DecommittedMemoryIsAlwaysZeroed() {
-#if BUILDFLAG(IS_APPLE)
+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
   return false;
 #else
   return true;