mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
LibWeb: LayoutSVG should not claim to be a LayoutCanvas :^)
Also make the class_name() match the actual class name.
This commit is contained in:
parent
ec0315883b
commit
d43ddd6eb7
1 changed files with 1 additions and 2 deletions
|
@ -44,8 +44,7 @@ public:
|
||||||
SVG::SVGSVGElement& node() { return static_cast<SVG::SVGSVGElement&>(LayoutReplaced::node()); }
|
SVG::SVGSVGElement& node() { return static_cast<SVG::SVGSVGElement&>(LayoutReplaced::node()); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual const char* class_name() const override { return "LayoutSvg"; }
|
virtual const char* class_name() const override { return "LayoutSVG"; }
|
||||||
virtual bool is_canvas() const override { return true; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue