aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-components_viz_test_mock__display__client.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-components_viz_test_mock__display__client.h')
-rw-r--r--devel/electron38/files/patch-components_viz_test_mock__display__client.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-components_viz_test_mock__display__client.h b/devel/electron38/files/patch-components_viz_test_mock__display__client.h
new file mode 100644
index 000000000000..86c366c3914d
--- /dev/null
+++ b/devel/electron38/files/patch-components_viz_test_mock__display__client.h
@@ -0,0 +1,11 @@
+--- components/viz/test/mock_display_client.h.orig 2025-03-24 20:50:14 UTC
++++ components/viz/test/mock_display_client.h
+@@ -45,7 +45,7 @@ class MockDisplayClient : public mojom::DisplayClient
+ #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS)
+ MOCK_METHOD1(SetPreferredRefreshRate, void(float refresh_rate));
+ #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS)
+-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
+ MOCK_METHOD1(DidCompleteSwapWithNewSize, void(const gfx::Size&));
+ #endif // BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+