Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_base__switches.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_base__switches.cc
--- src/3rdparty/chromium/base/base_switches.cc.orig 2019-11-27 21:12:25 UTC | --- src/3rdparty/chromium/base/base_switches.cc.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/base_switches.cc | +++ src/3rdparty/chromium/base/base_switches.cc | ||||
@@ -114,7 +114,7 @@ const char kWaitForDebugger[] = "wait-for-debugger"; | @@ -117,7 +117,7 @@ const char kDisableUsbKeyboardDetect[] = "disable | ||||
const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect"; | const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect"; | ||||
#endif | #endif | ||||
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) | -#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !BUILDFLAG(IS_LACROS) | ||||
+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) | +#if (defined(OS_LINUX) && !defined(OS_CHROMEOS) && !BUILDFLAG(IS_LACROS)) || defined(OS_BSD) | ||||
// The /dev/shm partition is too small in certain VM environments, causing | // 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 | // 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 | // work-around this issue (a temporary directory will always be used to create | ||||
@@ -135,7 +135,7 @@ const char kEnableCrashReporterForTesting[] = | @@ -152,7 +152,7 @@ const char kForceFieldTrialParams[] = "force-fieldtria | ||||
const char kEnableReachedCodeProfiler[] = "enable-reached-code-profiler"; | |||||
#endif | #endif | ||||
-#if defined(OS_LINUX) | -#if defined(OS_LINUX) || defined(OS_CHROMEOS) | ||||
+#if defined(OS_LINUX) || defined(OS_BSD) | +#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) | ||||
// Controls whether or not retired instruction counts are surfaced for threads | // Controls whether or not retired instruction counts are surfaced for threads | ||||
// in trace events on Linux. | // in trace events on Linux. | ||||
// | // |