ports/devel/electron25/files/patch-content_browser_utility__process__host.h
Hiroki Tagato 611c0053ff devel/electron25: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2023-06-27 16:12:40 +09:00

20 lines
619 B
C++

--- content/browser/utility_process_host.h.orig 2023-06-07 04:52:06 UTC
+++ content/browser/utility_process_host.h
@@ -43,7 +43,7 @@ namespace base {
class Thread;
} // namespace base
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
namespace viz {
class GpuClient;
} // namespace viz
@@ -244,7 +244,7 @@ class CONTENT_EXPORT UtilityProcessHost
std::vector<RunServiceDeprecatedCallback> pending_run_service_callbacks_;
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
std::unique_ptr<viz::GpuClient, base::OnTaskRunnerDeleter> gpu_client_;
#endif