diff options
Diffstat (limited to 'www/chromium/files/patch-content_browser_utility__process__host.cc')
-rw-r--r-- | www/chromium/files/patch-content_browser_utility__process__host.cc | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/www/chromium/files/patch-content_browser_utility__process__host.cc b/www/chromium/files/patch-content_browser_utility__process__host.cc index f7c1d9642ea3..c0995f1e1dbc 100644 --- a/www/chromium/files/patch-content_browser_utility__process__host.cc +++ b/www/chromium/files/patch-content_browser_utility__process__host.cc @@ -1,11 +1,29 @@ ---- content/browser/utility_process_host.cc.orig 2019-06-04 18:55:23 UTC +--- content/browser/utility_process_host.cc.orig 2019-10-21 19:06:32 UTC +++ content/browser/utility_process_host.cc -@@ -213,7 +213,7 @@ UtilityProcessHost::UtilityProcessHost( - : client_(client), - client_task_runner_(client_task_runner), - sandbox_type_(service_manager::SANDBOX_TYPE_UTILITY), +@@ -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> 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<font_service::mojom::FontService>()) { + ConnectToFontService(std::move(font_receiver)); + return; |