mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
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/
20 lines
824 B
C++
20 lines
824 B
C++
--- content/browser/utility_process_host.h.orig 2024-06-30 11:48:30 UTC
|
|
+++ content/browser/utility_process_host.h
|
|
@@ -37,7 +37,7 @@ class Thread;
|
|
class Thread;
|
|
} // namespace base
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
|
|
namespace viz {
|
|
class GpuClient;
|
|
} // namespace viz
|
|
@@ -234,7 +234,7 @@ class CONTENT_EXPORT UtilityProcessHost
|
|
};
|
|
LaunchState launch_state_ = LaunchState::kLaunchInProgress;
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
|
|
bool allowed_gpu_;
|
|
std::unique_ptr<viz::GpuClient, base::OnTaskRunnerDeleter> gpu_client_;
|
|
#endif
|