aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_app_content__main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_app_content__main.cc')
-rw-r--r--www/chromium/files/patch-content_app_content__main.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_app_content__main.cc b/www/chromium/files/patch-content_app_content__main.cc
new file mode 100644
index 000000000000..a250cd6d6e76
--- /dev/null
+++ b/www/chromium/files/patch-content_app_content__main.cc
@@ -0,0 +1,11 @@
+--- content/app/content_main.cc.orig 2020-11-16 14:31:07 UTC
++++ content/app/content_main.cc
+@@ -230,7 +230,7 @@ int RunContentProcess(const ContentMainParams& params,
+ #endif
+ base::EnableTerminationOnOutOfMemory();
+
+-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
+ // The various desktop environments set this environment variable that
+ // allows the dbus client library to connect directly to the bus. When this
+ // variable is not set (test environments like xvfb-run), the dbus client