blob: edb343c8fe74d7dec6e20234279065a90f36bdc1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- third_party/blink/renderer/core/layout/layout_view.cc.orig 2023-12-10 06:10:27 UTC
+++ third_party/blink/renderer/core/layout/layout_view.cc
@@ -73,7 +73,7 @@
#include "ui/gfx/geometry/quad_f.h"
#include "ui/gfx/geometry/size_conversions.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
@@ -808,7 +808,7 @@ void LayoutView::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
|