aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-components_viz_test_mock__display__client.h
blob: 55e119ea2652c93fdba7d5463a7a73c1c4065a1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/viz/test/mock_display_client.h.orig	2021-04-14 18:41:02 UTC
+++ components/viz/test/mock_display_client.h
@@ -39,7 +39,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