aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-components_viz_test_fake__display__client.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-components_viz_test_fake__display__client.h')
-rw-r--r--devel/electron38/files/patch-components_viz_test_fake__display__client.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-components_viz_test_fake__display__client.h b/devel/electron38/files/patch-components_viz_test_fake__display__client.h
new file mode 100644
index 000000000000..decdc418ca85
--- /dev/null
+++ b/devel/electron38/files/patch-components_viz_test_fake__display__client.h
@@ -0,0 +1,11 @@
+--- components/viz/test/fake_display_client.h.orig 2024-02-21 00:20:44 UTC
++++ components/viz/test/fake_display_client.h
+@@ -36,7 +36,7 @@ class FakeDisplayClient : public mojom::DisplayClient
+ void AddChildWindowToBrowser(gpu::SurfaceHandle child_window) override;
+ #endif
+
+-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
+ void DidCompleteSwapWithNewSize(const gfx::Size& size) override;
+ #endif // BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+