1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 15:45:07 +00:00

LibWeb: Rename SVGPathBox -> SVGGeometryBox

This fits better since it's now used by all SVGGeometryElements.
This commit is contained in:
Sam Atkins 2022-02-11 12:37:22 +00:00 committed by Andreas Kling
parent 326a5a82eb
commit 784c3183f7
7 changed files with 18 additions and 18 deletions

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Layout/SVGPathBox.h>
#include <LibWeb/Layout/SVGGeometryBox.h>
#include <LibWeb/SVG/SVGGeometryElement.h>
namespace Web::SVG {
@ -16,7 +16,7 @@ SVGGeometryElement::SVGGeometryElement(DOM::Document& document, QualifiedName qu
RefPtr<Layout::Node> SVGGeometryElement::create_layout_node(NonnullRefPtr<CSS::StyleProperties> style)
{
return adopt_ref(*new Layout::SVGPathBox(document(), *this, move(style)));
return adopt_ref(*new Layout::SVGGeometryBox(document(), *this, move(style)));
}
}