aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-tools_memory_partition__allocator_inspect__utils.h
blob: 47a2f196e0786a48d5a96b54ab7bc46920b50c90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- tools/memory/partition_allocator/inspect_utils.h.orig	2024-02-21 00:21:14 UTC
+++ tools/memory/partition_allocator/inspect_utils.h
@@ -61,7 +61,7 @@ class RemoteProcessMemoryReader {
   const pid_t pid_;
   bool is_valid_;
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   base::ScopedFD mem_fd_;
 #elif BUILDFLAG(IS_MAC)
   task_t task_;