aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-remoting_host_desktop__capturer__proxy.cc
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /devel/electron35/files/patch-remoting_host_desktop__capturer__proxy.cc
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/electron35/files/patch-remoting_host_desktop__capturer__proxy.cc')
-rw-r--r--devel/electron35/files/patch-remoting_host_desktop__capturer__proxy.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/electron35/files/patch-remoting_host_desktop__capturer__proxy.cc b/devel/electron35/files/patch-remoting_host_desktop__capturer__proxy.cc
deleted file mode 100644
index 615765e6a3cc..000000000000
--- a/devel/electron35/files/patch-remoting_host_desktop__capturer__proxy.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- remoting/host/desktop_capturer_proxy.cc.orig 2025-03-24 20:50:14 UTC
-+++ remoting/host/desktop_capturer_proxy.cc
-@@ -25,7 +25,7 @@
- #include "remoting/host/chromeos/frame_sink_desktop_capturer.h"
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "base/environment.h"
- #include "base/nix/xdg_util.h"
- #include "remoting/host/linux/wayland_desktop_capturer.h"
-@@ -90,7 +90,7 @@ void DesktopCapturerProxy::Core::CreateCapturer(
-
- #if BUILDFLAG(IS_CHROMEOS)
- capturer_ = std::make_unique<FrameSinkDesktopCapturer>();
--#elif BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- static base::nix::SessionType session_type = base::nix::SessionType::kUnset;
- if (session_type == base::nix::SessionType::kUnset) {
- std::unique_ptr<base::Environment> env = base::Environment::Create();
-@@ -297,7 +297,7 @@ bool DesktopCapturerProxy::SupportsFrameCallbacks() {
- bool DesktopCapturerProxy::SupportsFrameCallbacks() {
- DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return IsRunningWayland();
- #else
- return false;