$OpenBSD: patch-components_viz_test_mock_display_client_h,v 1.9 2021/11/16 11:28:46 robert Exp $

Index: components/viz/test/mock_display_client.h
--- components/viz/test/mock_display_client.h.orig
+++ components/viz/test/mock_display_client.h
@@ -44,7 +44,7 @@ class MockDisplayClient : public mojom::DisplayClient 
 #endif
 // 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)
   MOCK_METHOD1(DidCompleteSwapWithNewSize, void(const gfx::Size&));
 #endif
 
