diff options
Diffstat (limited to 'devel/electron29/files/patch-components_viz_test_fake__display__client.cc')
-rw-r--r-- | devel/electron29/files/patch-components_viz_test_fake__display__client.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-components_viz_test_fake__display__client.cc b/devel/electron29/files/patch-components_viz_test_fake__display__client.cc new file mode 100644 index 000000000000..5b3eeef68ad3 --- /dev/null +++ b/devel/electron29/files/patch-components_viz_test_fake__display__client.cc @@ -0,0 +1,11 @@ +--- components/viz/test/fake_display_client.cc.orig 2024-02-21 00:20:44 UTC ++++ components/viz/test/fake_display_client.cc +@@ -27,7 +27,7 @@ void FakeDisplayClient::AddChildWindowToBrowser( + gpu::SurfaceHandle child_window) {} + #endif + +-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11) ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11) + void FakeDisplayClient::DidCompleteSwapWithNewSize(const gfx::Size& size) {} + #endif // BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11) + |