mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +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 {
|
class SVGElement : public Element {
|
||||||
public:
|
public:
|
||||||
SVGElement(Document&, const FlyString& tag_name);
|
|
||||||
|
|
||||||
virtual bool is_graphics_element() const { return false; }
|
virtual bool is_graphics_element() const { return false; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
SVGElement(Document&, const FlyString& tag_name);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual bool is_svg_element() const final { return true; }
|
virtual bool is_svg_element() const final { return true; }
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,6 +32,7 @@ namespace Web::SVG {
|
||||||
|
|
||||||
class SVGGeometryElement : public SVGGraphicsElement {
|
class SVGGeometryElement : public SVGGraphicsElement {
|
||||||
public:
|
public:
|
||||||
|
protected:
|
||||||
SVGGeometryElement(Document& document, const FlyString& tag_name);
|
SVGGeometryElement(Document& document, const FlyString& tag_name);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue