blob: 9dccf174ba06a426a78136cf040f141ddf57167c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- chrome/browser/task_manager/sampling/task_manager_impl.cc.orig 2025-04-22 20:15:27 UTC
+++ chrome/browser/task_manager/sampling/task_manager_impl.cc
@@ -235,7 +235,7 @@ int TaskManagerImpl::GetOpenFdCount(TaskId task_id) co
}
int TaskManagerImpl::GetOpenFdCount(TaskId task_id) const {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
return GetTaskGroupByTaskId(task_id)->open_fd_count();
#else
return -1;
|