mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:57:35 +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()); }
|
||||
|
||||
private:
|
||||
virtual const char* class_name() const override { return "LayoutSvg"; }
|
||||
virtual bool is_canvas() const override { return true; }
|
||||
virtual const char* class_name() const override { return "LayoutSVG"; }
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue