aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-ui_compositor_compositor.cc
blob: e488a4dfd7448501f3fc8a155ef66f5ace92aa67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/compositor/compositor.cc.orig	2022-10-29 17:50:56 UTC
+++ ui/compositor/compositor.cc
@@ -854,7 +854,7 @@ void Compositor::OnResume() {
 
 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
 // of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
 void Compositor::OnCompleteSwapWithNewSize(const gfx::Size& size) {
   for (auto& observer : observer_list_)
     observer.OnCompositingCompleteSwapWithNewSize(this, size);