LibWeb: LayoutSVG should not claim to be a LayoutCanvas :^)

Also make the class_name() match the actual class name.
This commit is contained in:
Andreas Kling 2020-07-26 14:59:43 +02:00
parent ec0315883b
commit d43ddd6eb7
Notes: sideshowbarker 2024-07-19 04:36:35 +09:00

View File

@ -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"; }
};
}