aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-components_viz_test_fake__output__surface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-components_viz_test_fake__output__surface.cc')
-rw-r--r--devel/electron13/files/patch-components_viz_test_fake__output__surface.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-components_viz_test_fake__output__surface.cc b/devel/electron13/files/patch-components_viz_test_fake__output__surface.cc
new file mode 100644
index 000000000000..c37e9a38fb18
--- /dev/null
+++ b/devel/electron13/files/patch-components_viz_test_fake__output__surface.cc
@@ -0,0 +1,11 @@
+--- components/viz/test/fake_output_surface.cc.orig 2021-04-14 01:08:47 UTC
++++ components/viz/test/fake_output_surface.cc
+@@ -118,7 +118,7 @@ gfx::OverlayTransform FakeOutputSurface::GetDisplayTra
+
+ // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // of lacros-chrome is complete.
+-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
+ void FakeOutputSurface::SetNeedsSwapSizeNotifications(
+ bool needs_swap_size_notifications) {}
+ #endif