mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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
Notes:
sideshowbarker
2024-07-19 04:36:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d43ddd6eb7b
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
Reference in a new issue