aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_public_common_content__switches.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2021-04-06 08:40:01 +0000
committerRene Ladan <rene@FreeBSD.org>2021-04-06 08:46:52 +0000
commit1227b53ed1c53ea13efeac2bfe3fae5532c529ec (patch)
tree551daaabc2287f94c3b2d7b59c0cc2a235156540 /www/chromium/files/patch-content_public_common_content__switches.cc
parenta8416100c4e9b0dd5090c78d09ef6a94293b3c02 (diff)
downloadports-1227b53ed1c53ea13efeac2bfe3fae5532c529ec.tar.gz
ports-1227b53ed1c53ea13efeac2bfe3fae5532c529ec.zip
www/chromium: update to 89.0.4389.114
Submitted by: Matthias Wolf via github Security: https://www.vuxml.org/freebsd/bddadaa4-9227-11eb-99c5-e09467587c17.html
Diffstat (limited to 'www/chromium/files/patch-content_public_common_content__switches.cc')
-rw-r--r--www/chromium/files/patch-content_public_common_content__switches.cc21
1 files changed, 6 insertions, 15 deletions
diff --git a/www/chromium/files/patch-content_public_common_content__switches.cc b/www/chromium/files/patch-content_public_common_content__switches.cc
index 7a59374c0124..5217ea454ffd 100644
--- a/www/chromium/files/patch-content_public_common_content__switches.cc
+++ b/www/chromium/files/patch-content_public_common_content__switches.cc
@@ -1,20 +1,11 @@
---- content/public/common/content_switches.cc.orig 2021-01-18 21:28:57 UTC
+--- content/public/common/content_switches.cc.orig 2021-03-12 23:57:24 UTC
+++ content/public/common/content_switches.cc
-@@ -895,7 +895,7 @@ const char kWebXrRuntimeWMR[] = "windows-mixed-reality
- const char kDisableAcceleratedVideoDecode[] =
- "disable-accelerated-video-decode";
+@@ -955,7 +955,7 @@ const char kEnableAutomation[] = "enable-automation";
--#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
-+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)) || defined(OS_BSD)
- // Enables hardware acceleration of video decoding on linux. (defaults to off)
- const char kEnableAcceleratedVideoDecode[] = "enable-accelerated-video-decode";
- #endif
-@@ -959,7 +959,7 @@ const char kEnableAggressiveDOMStorageFlushing[] =
- // Enable indication that browser is controlled by automation.
- const char kEnableAutomation[] = "enable-automation";
-
--#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
-+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_FREEBSD)
+ // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // of lacros-chrome is complete.
+-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
// Allows sending text-to-speech requests to speech-dispatcher, a common
// Linux speech service. Because it's buggy, the user must explicitly
// enable it so that visiting a random webpage can't cause instability.