mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
LibWeb: Make Layout::SVGBox inherit from Layout::Box
This doesn't need anything from Layout::BlockContainer, so let's not inherit from that.
This commit is contained in:
parent
4d98851aea
commit
702cee3d7c
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace Web::Layout {
|
||||
|
||||
class SVGBox : public BlockContainer {
|
||||
class SVGBox : public Box {
|
||||
public:
|
||||
SVGBox(DOM::Document&, SVG::SVGElement&, NonnullRefPtr<CSS::StyleProperties>);
|
||||
virtual ~SVGBox() override = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue