aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-components_viz_service_display__embedder_software__output__surface.h
blob: 3d8759e36eb0a18e6cfe0819f80b4c9474cb42a9 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                                                       
                                                                     
                                                                        
                                                        

                                                                                

                                                                              


                                                    
                                                                        
 

                                                                                

                                                                              


                                               
--- components/viz/service/display_embedder/software_output_surface.h.orig	2023-12-10 06:10:27 UTC
+++ components/viz/service/display_embedder/software_output_surface.h
@@ -47,7 +47,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi
   gfx::OverlayTransform GetDisplayTransform() override;
 // 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 SetNeedsSwapSizeNotifications(
       bool needs_swap_size_notifications) override;
 #endif
@@ -70,7 +70,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi
 
 // 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)
   bool needs_swap_size_notifications_ = false;
 #endif