summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutSVGGraphics.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-11-22 14:46:36 +0100
committerAndreas Kling <kling@serenityos.org>2020-11-22 14:46:36 +0100
commitf358f2255fec7228b7ddf510936a2b7a150e509e (patch)
tree3880618b67facc7b935df3434d423151f3e5b0e6 /Libraries/LibWeb/Layout/LayoutSVGGraphics.cpp
parent85859544fa306db03c791df8e56897f3c3089420 (diff)
downloadserenity-f358f2255fec7228b7ddf510936a2b7a150e509e.zip
LibWeb: Rename LayoutNode::node() => LayoutNode::dom_node()
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutSVGGraphics.cpp')
-rw-r--r--Libraries/LibWeb/Layout/LayoutSVGGraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutSVGGraphics.cpp b/Libraries/LibWeb/Layout/LayoutSVGGraphics.cpp
index 787b7e16fd..b85237aeea 100644
--- a/Libraries/LibWeb/Layout/LayoutSVGGraphics.cpp
+++ b/Libraries/LibWeb/Layout/LayoutSVGGraphics.cpp
@@ -39,7 +39,7 @@ void LayoutSVGGraphics::before_children_paint(PaintContext& context, LayoutNode:
if (phase != LayoutNode::PaintPhase::Foreground)
return;
- auto& graphics_element = downcast<SVG::SVGGraphicsElement>(node());
+ auto& graphics_element = downcast<SVG::SVGGraphicsElement>(dom_node());
if (graphics_element.fill_color().has_value())
context.svg_context().set_fill_color(graphics_element.fill_color().value());