1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:57:43 +00:00

LibWeb: Remove more hand-rolled type information :^)

Hoo boy, we've really accumulated a lot of this stuff.
This commit is contained in:
Andreas Kling 2021-01-01 18:12:33 +01:00
parent d2613403e0
commit 3bb0cb2202
15 changed files with 5 additions and 40 deletions

View file

@ -34,13 +34,8 @@ class SVGElement : public DOM::Element {
public:
using WrapperType = Bindings::SVGElementWrapper;
virtual bool is_graphics_element() const { return false; }
protected:
SVGElement(DOM::Document&, const QualifiedName& qualified_name);
private:
virtual bool is_svg_element() const final { return true; }
};
}