summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-content_shell_app_shell__main__delegate.cc
blob: 11b01dbb41f7958abbf625ab13be1107d77b1d48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- content/shell/app/shell_main_delegate.cc.orig	2023-12-23 12:33:28 UTC
+++ content/shell/app/shell_main_delegate.cc
@@ -227,7 +227,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