--- src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.h.orig 2019-05-23 12:39:34 UTC +++ src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.h @@ -29,7 +29,7 @@ #include "third_party/blink/public/mojom/loader/code_cache.mojom.h" #include "third_party/blink/public/platform/modules/webdatabase/web_database.mojom.h" -#if defined(OS_LINUX) +#if defined(OS_LINUX) || defined(OS_BSD) #include "components/services/font/public/cpp/font_loader.h" // nogncheck #include "third_party/skia/include/core/SkRefCnt.h" // nogncheck #endif @@ -263,7 +263,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : publi std::unique_ptr connector_; scoped_refptr io_runner_; -#if defined(OS_LINUX) || defined(OS_MACOSX) +#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_BSD) std::unique_ptr sandbox_support_; #endif @@ -298,7 +298,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : publi blink::mojom::CodeCacheHostPtrInfo code_cache_host_info_; scoped_refptr code_cache_host_; -#if defined(OS_LINUX) +#if defined(OS_LINUX) || defined(OS_BSD) sk_sp font_loader_; #endif