--- src/3rdparty/chromium/third_party/blink/renderer/core/layout/ng/layout_ng_view.cc.orig	2023-09-13 12:11:42 UTC
+++ src/3rdparty/chromium/third_party/blink/renderer/core/layout/ng/layout_ng_view.cc
@@ -15,7 +15,7 @@
 #include "third_party/blink/renderer/core/svg/svg_document_extensions.h"
 #include "ui/display/screen_info.h"
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
 #include "third_party/blink/renderer/platform/fonts/font_cache.h"
 #endif
 
@@ -53,7 +53,7 @@ void LayoutNGView::UpdateLayout() {
     fragmentation_context_.Clear();
   }
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
   // The font code in FontPlatformData does not have a direct connection to the
   // document, the frame or anything from which we could retrieve the device
   // scale factor. After using zoom for DSF, the GraphicsContext does only ever
