diff options
Diffstat (limited to 'devel/electron23/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.h')
-rw-r--r-- | devel/electron23/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.h b/devel/electron23/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.h new file mode 100644 index 000000000000..a9f9964ff3a1 --- /dev/null +++ b/devel/electron23/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.h @@ -0,0 +1,24 @@ +--- 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 + }; |