aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-chromecast_browser_cast__content__browser__client.cc
blob: b41d44a8c18abdb26c4e833e7757dcb1170a1f3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chromecast/browser/cast_content_browser_client.cc.orig	2024-10-16 21:31:08 UTC
+++ chromecast/browser/cast_content_browser_client.cc
@@ -429,7 +429,7 @@ void CastContentBrowserClient::AppendExtraCommandLineS
                                           switches::kAudioOutputChannels));
     }
   } else if (process_type == switches::kGpuProcess) {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
     // Necessary for accelerated 2d canvas.  By default on Linux, Chromium
     // assumes GLES2 contexts can be lost to a power-save mode, which breaks GPU
     // canvas apps.