From 26b4c8f71f91d22e081b27814782686edde0c90a Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 1 Jan 2021 10:11:34 +0000 Subject: Revert r559792 to unbreak INDEX and bulk -a It seems a lot of reverse dependencies were missed With hat: portmgr --- ...patch-content_browser_utility__process__host.cc | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 devel/electron7/files/patch-content_browser_utility__process__host.cc (limited to 'devel/electron7/files/patch-content_browser_utility__process__host.cc') diff --git a/devel/electron7/files/patch-content_browser_utility__process__host.cc b/devel/electron7/files/patch-content_browser_utility__process__host.cc new file mode 100644 index 000000000000..9333bef553d6 --- /dev/null +++ b/devel/electron7/files/patch-content_browser_utility__process__host.cc @@ -0,0 +1,29 @@ +--- content/browser/utility_process_host.cc.orig 2019-12-12 12:39:40 UTC ++++ content/browser/utility_process_host.cc +@@ -55,7 +55,7 @@ + #include "services/network/network_sandbox_win.h" + #endif + +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + #include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck + #include "content/browser/font_service.h" // nogncheck + #endif +@@ -216,7 +216,7 @@ UtilityProcessHost::UtilityProcessHost() + + UtilityProcessHost::UtilityProcessHost(std::unique_ptr client) + : sandbox_type_(service_manager::SANDBOX_TYPE_UTILITY), +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + child_flags_(ChildProcessHost::CHILD_ALLOW_SELF), + #else + child_flags_(ChildProcessHost::CHILD_NORMAL), +@@ -515,7 +515,7 @@ void UtilityProcessHost::OnProcessCrashed(int exit_cod + + void UtilityProcessHost::BindHostReceiver( + mojo::GenericPendingReceiver receiver) { +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + if (auto font_receiver = receiver.As()) { + ConnectToFontService(std::move(font_receiver)); + return; -- cgit v1.2.3