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


                                                        

                                                                       


                                                                           
                                                                          


                                                          

                                                                                            

                                                              

                                                                       

                                                
   
--- content/utility/utility_blink_platform_with_sandbox_support_impl.h.orig	2022-02-28 16:54:41 UTC
+++ content/utility/utility_blink_platform_with_sandbox_support_impl.h
@@ -10,7 +10,7 @@
 #include "build/build_config.h"
 #include "third_party/blink/public/platform/platform.h"
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
 #include "components/services/font/public/cpp/font_loader.h"  // nogncheck
 #include "third_party/skia/include/core/SkRefCnt.h"           // nogncheck
 #endif
@@ -38,10 +38,10 @@ class UtilityBlinkPlatformWithSandboxSupportImpl : pub
   blink::WebSandboxSupport* GetSandboxSupport() override;
 
  private:
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
   std::unique_ptr<blink::WebSandboxSupport> sandbox_support_;
 #endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
   sk_sp<font_service::FontLoader> font_loader_;
 #endif
 };