mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03: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
Notes:
sideshowbarker
2024-07-19 04:36:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d43ddd6eb7b
@ -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…
Reference in New Issue
Block a user