1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-06 14:17:36 +00:00
serenity/Userland/Libraries/LibWeb/Layout/SVGBox.cpp
Andreas Kling 702cee3d7c LibWeb: Make Layout::SVGBox inherit from Layout::Box
This doesn't need anything from Layout::BlockContainer, so let's not
inherit from that.
2022-03-11 00:21:49 +01:00

18 lines
406 B
C++

/*
* Copyright (c) 2020, Matthew Olsson <mattco@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibGfx/Painter.h>
#include <LibWeb/Layout/SVGBox.h>
#include <LibWeb/Painting/StackingContext.h>
namespace Web::Layout {
SVGBox::SVGBox(DOM::Document& document, SVG::SVGElement& element, NonnullRefPtr<CSS::StyleProperties> style)
: Box(document, &element, move(style))
{
}
}