summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-content_public_common_content__features.cc
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2021-11-24 17:28:24 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2021-11-24 17:30:52 +0900
commit4da4f5edbf9de5c4269cf66d70044f4cb3abdc41 (patch)
tree21363ca7518a943c48bde3a669c78444685f832e /devel/electron13/files/patch-content_public_common_content__features.cc
parentports-mgmt/octopkg: update description and WWW (diff)
devel/electron13: update to 13.6.2 (and rename from devel/electron12)
Changelog: https://www.electronjs.org/blog/electron-13-0
Diffstat (limited to 'devel/electron13/files/patch-content_public_common_content__features.cc')
-rw-r--r--devel/electron13/files/patch-content_public_common_content__features.cc31
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-content_public_common_content__features.cc b/devel/electron13/files/patch-content_public_common_content__features.cc
new file mode 100644
index 000000000000..bfed9e0bd690
--- /dev/null
+++ b/devel/electron13/files/patch-content_public_common_content__features.cc
@@ -0,0 +1,31 @@
+--- content/public/common/content_features.cc.orig 2021-07-15 19:13:39 UTC
++++ content/public/common/content_features.cc
+@@ -50,7 +50,7 @@ const base::Feature kAudioServiceOutOfProcess {
+ // TODO(crbug.com/1052397): Remove !IS_CHROMEOS_LACROS once lacros starts being
+ // built with OS_CHROMEOS instead of OS_LINUX.
+ #if defined(OS_WIN) || defined(OS_MAC) || \
+- (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS))
++ (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS)) || defined(OS_BSD)
+ base::FEATURE_ENABLED_BY_DEFAULT
+ #else
+ base::FEATURE_DISABLED_BY_DEFAULT
+@@ -821,8 +821,8 @@ const base::Feature kWebAssemblyThreads {
+ };
+
+ // Enable WebAssembly trap handler.
+-#if (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_WIN) || \
+- defined(OS_MAC)) && \
++#if (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OS_BSD) || \
++ defined(OS_MAC)) && \
+ defined(ARCH_CPU_X86_64)
+ const base::Feature kWebAssemblyTrapHandler{"WebAssemblyTrapHandler",
+ base::FEATURE_ENABLED_BY_DEFAULT};
+@@ -844,7 +844,7 @@ const base::Feature kWebAuthCable {
+ // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // of lacros-chrome is complete.
+ // If updating this, also update kWebAuthCableServerLink.
+-#if BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_LINUX) || defined(OS_BSD)
+ base::FEATURE_DISABLED_BY_DEFAULT
+ #else
+ base::FEATURE_ENABLED_BY_DEFAULT