diff options
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/StyleComputer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp b/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp index aa39bf39b8..7f7f41f2dc 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp +++ b/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp @@ -12,6 +12,7 @@ #include <LibGfx/Font/Font.h> #include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Font/FontStyleMapping.h> +#include <LibGfx/Font/ScaledFont.h> #include <LibGfx/Font/TrueType/Font.h> #include <LibWeb/CSS/CSSFontFaceRule.h> #include <LibWeb/CSS/CSSStyleRule.h> @@ -65,7 +66,7 @@ public: { if (!m_ttf_font) return nullptr; - return adopt_ref(*new TTF::ScaledFont(*m_ttf_font, point_size, point_size)); + return adopt_ref(*new Gfx::ScaledFont(*m_ttf_font, point_size, point_size)); } private: |