summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chromecast_browser_cast__content__browser__client.cc
blob: 2f59cf8e7b96f7fde4f2c34db5af25f8f5e3e84b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chromecast/browser/cast_content_browser_client.cc.orig	2022-08-31 12:19:35 UTC
+++ chromecast/browser/cast_content_browser_client.cc
@@ -470,7 +470,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.