LibWeb: Correct initialization order for SVGFE*Element

We should first set the prototype before initializing our base,
otherwise e.g. attributes will simply not work.
This commit is contained in:
Jelle Raaijmakers 2025-07-10 16:52:41 +02:00 committed by Tim Ledbetter
commit ffcf91cd30
Notes: github-actions[bot] 2025-07-11 10:27:24 +00:00
3 changed files with 3 additions and 3 deletions

View file

@ -21,8 +21,8 @@ SVGFEBlendElement::SVGFEBlendElement(DOM::Document& document, DOM::QualifiedName
void SVGFEBlendElement::initialize(JS::Realm& realm)
{
Base::initialize(realm);
WEB_SET_PROTOTYPE_FOR_INTERFACE(SVGFEBlendElement);
Base::initialize(realm);
}
void SVGFEBlendElement::visit_edges(Cell::Visitor& visitor)