$OpenBSD: patch-components_viz_test_mock_display_client_h,v 1.5 2021/10/29 14:49:40 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
@@ -40,7 +40,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
 
