diff --git a/Libraries/LibWeb/SVG/SVGFilterElement.cpp b/Libraries/LibWeb/SVG/SVGFilterElement.cpp index 6dc72a0086c..d4b14a60022 100644 --- a/Libraries/LibWeb/SVG/SVGFilterElement.cpp +++ b/Libraries/LibWeb/SVG/SVGFilterElement.cpp @@ -117,8 +117,7 @@ Optional SVGFilterElement::gfx_filter() } else if (auto* blend_primitive = as_if(node)) { auto foreground = resolve_input_filter(blend_primitive->in1()->base_val()); auto background = resolve_input_filter(blend_primitive->in2()->base_val()); - - auto blend_mode = blend_primitive.mode(); + auto blend_mode = blend_primitive->mode(); root_filter = Gfx::Filter::blend(background, foreground, blend_mode); update_result_map(*blend_primitive);