summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/SVG
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-02-11 12:37:22 +0000
committerAndreas Kling <kling@serenityos.org>2022-02-11 21:38:27 +0100
commit784c3183f734f45672ec7ebc43d285f81a40e1a0 (patch)
tree6360405e396fa39bbf8a7022edb3af6141d1df57 /Userland/Libraries/LibWeb/SVG
parent326a5a82ebef1146def6e04f1930ef8c054a59bf (diff)
downloadserenity-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.cpp4
-rw-r--r--Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp2
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>