summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-content_shell_app_shell__main__delegate.cc
blob: ee8115209db37fa32244ba1f83fc73d77a33f246 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- content/shell/app/shell_main_delegate.cc.orig	2023-05-05 12:12:41 UTC
+++ content/shell/app/shell_main_delegate.cc
@@ -223,7 +223,7 @@ void ShellMainDelegate::PreSandboxStartup() {
     // Reporting for sub-processes will be initialized in ZygoteForked.
     if (process_type != switches::kZygoteProcess) {
       crash_reporter::InitializeCrashpad(process_type.empty(), process_type);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
       crash_reporter::SetFirstChanceExceptionHandler(
           v8::TryHandleWebAssemblyTrapPosix);
 #endif