1 --- src/3rdparty/chromium/base/base_switches.cc.orig	2021-12-15 16:12:54 UTC
2 +++ src/3rdparty/chromium/base/base_switches.cc
3 @@ -117,7 +117,7 @@ const char kDisableUsbKeyboardDetect[]      = "disable
4  const char kDisableUsbKeyboardDetect[]      = "disable-usb-keyboard-detect";
5  #endif
6 
7 -#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !BUILDFLAG(IS_LACROS)
8 +#if (defined(OS_LINUX) && !defined(OS_CHROMEOS) && !BUILDFLAG(IS_LACROS)) || defined(OS_BSD)
9  // The /dev/shm partition is too small in certain VM environments, causing
10  // Chrome to fail or crash (see http://crbug.com/715363). Use this flag to
11  // work-around this issue (a temporary directory will always be used to create
12 @@ -152,7 +152,7 @@ const char kForceFieldTrialParams[] = "force-fieldtria
13 
14  #endif
15 
16 -#if defined(OS_LINUX) || defined(OS_CHROMEOS)
17 +#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
18  // Controls whether or not retired instruction counts are surfaced for threads
19  // in trace events on Linux.
20  //
21