aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-content_browser_utility__process__host.h
blob: e3370ab6b78723cc11db28d77634a612131222a9 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                       
                                          
                                  


                     

                                                                                                


                    


                                                              
 

                                                                                                
                     

                                                                          
--- content/browser/utility_process_host.h.orig	2024-05-21 18:07:39 UTC
+++ content/browser/utility_process_host.h
@@ -33,7 +33,7 @@ namespace base {
 class Thread;
 }  // namespace base
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
 namespace viz {
 class GpuClient;
 }  // namespace viz
@@ -200,7 +200,7 @@ class CONTENT_EXPORT UtilityProcessHost
   };
   LaunchState launch_state_ = LaunchState::kLaunchInProgress;
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
   bool allowed_gpu_;
   std::unique_ptr<viz::GpuClient, base::OnTaskRunnerDeleter> gpu_client_;
 #endif