summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chromecast_browser_cast__content__browser__client.cc
blob: 1f8ff56cedfc5d60b10bce46306f411fc11e9d5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chromecast/browser/cast_content_browser_client.cc.orig	2022-09-24 10:57:32 UTC
+++ chromecast/browser/cast_content_browser_client.cc
@@ -434,7 +434,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.