mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
LibWeb: Make SVGElement and SVGGeometryElement constructors protected
This commit is contained in:
parent
1b1537c5a6
commit
eabd43d31a
2 changed files with 4 additions and 2 deletions
|
@ -32,10 +32,11 @@ namespace Web::SVG {
|
|||
|
||||
class SVGElement : public Element {
|
||||
public:
|
||||
SVGElement(Document&, const FlyString& tag_name);
|
||||
|
||||
virtual bool is_graphics_element() const { return false; }
|
||||
|
||||
protected:
|
||||
SVGElement(Document&, const FlyString& tag_name);
|
||||
|
||||
private:
|
||||
virtual bool is_svg_element() const final { return true; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue