$OpenBSD: patch-chrome_browser_task_manager_sampling_task_group_h,v 1.2 2017/03/14 12:18:53 robert Exp $
--- chrome/browser/task_manager/sampling/task_group.h.orig.port	Thu Mar  9 21:04:29 2017
+++ chrome/browser/task_manager/sampling/task_group.h	Fri Mar 10 07:46:19 2017
@@ -96,7 +96,7 @@ class TaskGroup {
   int nacl_debug_stub_port() const { return nacl_debug_stub_port_; }
 #endif  // !defined(DISABLE_NACL)
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   int open_fd_count() const { return open_fd_count_; }
 #endif  // defined(OS_LINUX)
 
@@ -121,7 +121,7 @@ class TaskGroup {
 
   void OnIdleWakeupsRefreshDone(int idle_wakeups_per_second);
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   void OnOpenFdCountRefreshDone(int open_fd_count);
 #endif  // defined(OS_LINUX)
 
@@ -171,7 +171,7 @@ class TaskGroup {
   int nacl_debug_stub_port_;
 #endif  // !defined(DISABLE_NACL)
   int idle_wakeups_per_second_;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // The number of file descriptors currently open by the process.
   int open_fd_count_;
 #endif  // defined(OS_LINUX)
