ports/www/chromium/files/patch-components_live__caption_caption__util.cc
Robert Nagy 2acdadaf09 www/chromium: update to 104.0.5112.79
Security:	96a41723-133a-11ed-be3b-3065ec8fd3ec
2022-08-03 16:50:51 +02:00

11 lines
438 B
C++

--- components/live_caption/caption_util.cc.orig 2022-07-22 17:30:31 UTC
+++ components/live_caption/caption_util.cc
@@ -140,7 +140,7 @@ bool IsLiveCaptionFeatureSupported() {
return false;
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Check if the CPU has the required instruction set to run the Speech
// On-Device API (SODA) library.
static bool has_sse41 = base::CPU().has_sse41();