aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron37/files/patch-components_viz_host_gpu__host__impl.cc
blob: 032c9820ea4c1fa6fc2bcf774139118da92e1b30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/viz/host/gpu_host_impl.cc.orig	2025-03-24 20:50:14 UTC
+++ components/viz/host/gpu_host_impl.cc
@@ -135,7 +135,7 @@ GpuHostImpl::GpuHostImpl(Delegate* delegate,
       mojom::GpuServiceCreationParams::New();
 #if BUILDFLAG(IS_OZONE)
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   // Linux has an issue when running in single-process mode wherein
   // GetPlatformRuntimeProperties() browser-side calls can have a data race with
   // in-process GPU service initialization. The call to