$NetBSD: patch-components_performance__manager_decorators_process__metrics__decorator.cc,v 1.13 2025/12/23 13:22:18 kikadf Exp $

* Part of patchset to build chromium on NetBSD
* Based on OpenBSD's chromium patches, and
  pkgsrc's qt5-qtwebengine patches

--- components/performance_manager/decorators/process_metrics_decorator.cc.orig	2025-12-17 23:05:18.000000000 +0000
+++ components/performance_manager/decorators/process_metrics_decorator.cc
@@ -54,7 +54,7 @@ class ProcessMetricsDecorator::NodeMetri
     auto* process_node = ProcessNodeImpl::FromNode(context.GetProcessNode());
     process_node->set_private_footprint(memory_summary_->private_footprint);
     process_node->set_resident_set(memory_summary_->resident_set_size);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
     process_node->set_private_swap(memory_summary_->private_swap);
 #endif
   }
