summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutText.cpp')
-rw-r--r--Libraries/LibWeb/Layout/LayoutText.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutText.cpp b/Libraries/LibWeb/Layout/LayoutText.cpp
index c8f3558e8b..119f8aee0c 100644
--- a/Libraries/LibWeb/Layout/LayoutText.cpp
+++ b/Libraries/LibWeb/Layout/LayoutText.cpp
@@ -65,7 +65,7 @@ const String& LayoutText::text_for_style(const StyleProperties& style) const
return node().data();
}
-void LayoutText::render_fragment(RenderingContext& context, const LineBoxFragment& fragment) const
+void LayoutText::render_fragment(PaintContext& context, const LineBoxFragment& fragment) const
{
auto& painter = context.painter();
painter.set_font(style().font());