summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-content_public_common_content__features.cc
blob: 2e966d3decbc3765ba56f0e9bd4d229c17a9c08c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- content/public/common/content_features.cc.orig	2019-04-05 00:49:17 UTC
+++ content/public/common/content_features.cc
@@ -493,7 +493,7 @@ const base::Feature kWebAssemblyThreads{"WebAssemblyTh
                                         base::FEATURE_DISABLED_BY_DEFAULT};
 
 // Enable WebAssembly trap handler.
-#if defined(OS_LINUX) && defined(ARCH_CPU_X86_64)
+#if (defined(OS_BSD) || defined(OS_LINUX)) && defined(ARCH_CPU_X86_64)
 const base::Feature kWebAssemblyTrapHandler{"WebAssemblyTrapHandler",
                                             base::FEATURE_ENABLED_BY_DEFAULT};
 #else