diff --git a/Userland/Libraries/LibWeb/Painting/SVGGraphicsPaintable.cpp b/Userland/Libraries/LibWeb/Painting/SVGGraphicsPaintable.cpp index 4c4f3adb12..52e5e06c79 100644 --- a/Userland/Libraries/LibWeb/Painting/SVGGraphicsPaintable.cpp +++ b/Userland/Libraries/LibWeb/Painting/SVGGraphicsPaintable.cpp @@ -25,7 +25,7 @@ void SVGGraphicsPaintable::before_children_paint(PaintContext& context, PaintPha if (phase != PaintPhase::Foreground) return; - auto& graphics_element = verify_cast(layout_box().dom_node()); + auto& graphics_element = layout_box().dom_node(); if (graphics_element.fill_color().has_value()) context.svg_context().set_fill_color(graphics_element.fill_color().value());