aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-content_browser_browser__child__process__host__impl.cc
blob: 0e533a9ff779f4489b6d7fe7390a96ad8715fe85 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                                       
                                                      



                                                                          
                                


                                                                      
                                                                          







                                                                       
--- content/browser/browser_child_process_host_impl.cc.orig	2024-05-21 18:07:39 UTC
+++ content/browser/browser_child_process_host_impl.cc
@@ -329,6 +329,7 @@ void BrowserChildProcessHostImpl::LaunchWithoutExtraCo
       switches::kMojoCoreLibraryPath,
       switches::kPerfettoDisableInterning,
       switches::kTraceToConsole,
+      switches::kDisableUnveil,
   };
   cmd_line->CopySwitchesFrom(browser_command_line, kForwardSwitches);
 
@@ -657,7 +658,7 @@ void BrowserChildProcessHostImpl::OnProcessLaunched() 
           ->child_process());
 #endif
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
   child_thread_type_switcher_.SetPid(process.Pid());
 #endif  // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)