summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_base__switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_base__switches.cc')
-rw-r--r--www/chromium/files/patch-base_base__switches.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_base__switches.cc b/www/chromium/files/patch-base_base__switches.cc
new file mode 100644
index 000000000000..27fbdf9baac7
--- /dev/null
+++ b/www/chromium/files/patch-base_base__switches.cc
@@ -0,0 +1,20 @@
+--- base/base_switches.cc.orig 2019-07-29 16:52:17 UTC
++++ base/base_switches.cc
+@@ -107,7 +107,7 @@ const char kProfilingFlush[] = "profiling-flush";
+ const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect";
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ // The /dev/shm partition is too small in certain VM environments, causing
+ // Chrome to fail or crash (see http://crbug.com/715363). Use this flag to
+ // work-around this issue (a temporary directory will always be used to create
+@@ -128,7 +128,7 @@ const char kEnableCrashReporterForTesting[] =
+ const char kEnableReachedCodeProfiler[] = "enable-reached-code-profiler";
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Controls whether or not retired instruction counts are surfaced for threads
+ // in trace events on Linux.
+ //