mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +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:
parent
d2613403e0
commit
3bb0cb2202
Notes:
sideshowbarker
2024-07-19 00:15:51 +09:00
Author: https://github.com/awesomekling
Commit: 3bb0cb2202
15 changed files with 5 additions and 40 deletions
|
@ -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; }
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -49,9 +49,6 @@ protected:
|
|||
Optional<Gfx::Color> m_fill_color;
|
||||
Optional<Gfx::Color> m_stroke_color;
|
||||
Optional<float> m_stroke_width;
|
||||
|
||||
private:
|
||||
virtual bool is_graphics_element() const final { return true; }
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue