diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-02-11 12:37:22 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-11 21:38:27 +0100 |
commit | 784c3183f734f45672ec7ebc43d285f81a40e1a0 (patch) | |
tree | 6360405e396fa39bbf8a7022edb3af6141d1df57 /Userland/Libraries/LibWeb/SVG | |
parent | 326a5a82ebef1146def6e04f1930ef8c054a59bf (diff) | |
download | serenity-784c3183f734f45672ec7ebc43d285f81a40e1a0.zip |
LibWeb: Rename SVGPathBox -> SVGGeometryBox
This fits better since it's now used by all SVGGeometryElements.
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG')
-rw-r--r-- | Userland/Libraries/LibWeb/SVG/SVGGeometryElement.cpp | 4 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.cpp index eed13009a7..38b1ce92d3 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.cpp @@ -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))); } } diff --git a/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp index 58b5104dfe..f11852a3a6 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp @@ -11,7 +11,7 @@ #include <LibGfx/Path.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/DOM/Event.h> -#include <LibWeb/Layout/SVGPathBox.h> +#include <LibWeb/Layout/SVGGeometryBox.h> #include <LibWeb/SVG/SVGPathElement.h> #include <ctype.h> |