diff options
author | Luke <luke.wilde@live.co.uk> | 2020-10-10 02:48:05 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-22 15:24:42 +0200 |
commit | e8a9e8aed51fc6a6b1c03d2b84f714ede5bcb341 (patch) | |
tree | 957ea71bf4d8554b5c545b40a00f35f03c461440 /Libraries/LibWeb/SVG | |
parent | efaf03e986337e096e16e1aee938ddc9f8df97f4 (diff) | |
download | serenity-e8a9e8aed51fc6a6b1c03d2b84f714ede5bcb341.zip |
LibWeb: Add namespace to Element
Diffstat (limited to 'Libraries/LibWeb/SVG')
-rw-r--r-- | Libraries/LibWeb/SVG/SVGElement.cpp | 4 | ||||
-rw-r--r-- | Libraries/LibWeb/SVG/SVGElement.h | 2 | ||||
-rw-r--r-- | Libraries/LibWeb/SVG/SVGGeometryElement.cpp | 4 | ||||
-rw-r--r-- | Libraries/LibWeb/SVG/SVGGeometryElement.h | 2 | ||||
-rw-r--r-- | Libraries/LibWeb/SVG/SVGGraphicsElement.cpp | 4 | ||||
-rw-r--r-- | Libraries/LibWeb/SVG/SVGGraphicsElement.h | 2 | ||||
-rw-r--r-- | Libraries/LibWeb/SVG/SVGPathElement.cpp | 4 | ||||
-rw-r--r-- | Libraries/LibWeb/SVG/SVGPathElement.h | 2 | ||||
-rw-r--r-- | Libraries/LibWeb/SVG/SVGSVGElement.cpp | 4 | ||||
-rw-r--r-- | Libraries/LibWeb/SVG/SVGSVGElement.h | 2 |
10 files changed, 15 insertions, 15 deletions
diff --git a/Libraries/LibWeb/SVG/SVGElement.cpp b/Libraries/LibWeb/SVG/SVGElement.cpp index f3699c18eb..828e9b0e99 100644 --- a/Libraries/LibWeb/SVG/SVGElement.cpp +++ b/Libraries/LibWeb/SVG/SVGElement.cpp @@ -28,8 +28,8 @@ namespace Web::SVG { -SVGElement::SVGElement(DOM::Document& document, const FlyString& tag_name) - : Element(document, tag_name) +SVGElement::SVGElement(DOM::Document& document, const QualifiedName& qualified_name) + : Element(document, qualified_name) { } diff --git a/Libraries/LibWeb/SVG/SVGElement.h b/Libraries/LibWeb/SVG/SVGElement.h index 185c1db7fb..b96ea1e774 100644 --- a/Libraries/LibWeb/SVG/SVGElement.h +++ b/Libraries/LibWeb/SVG/SVGElement.h @@ -37,7 +37,7 @@ public: virtual bool is_graphics_element() const { return false; } protected: - SVGElement(DOM::Document&, const FlyString& tag_name); + SVGElement(DOM::Document&, const QualifiedName& qualified_name); private: virtual bool is_svg_element() const final { return true; } diff --git a/Libraries/LibWeb/SVG/SVGGeometryElement.cpp b/Libraries/LibWeb/SVG/SVGGeometryElement.cpp index 47764c2363..c3e8f386fd 100644 --- a/Libraries/LibWeb/SVG/SVGGeometryElement.cpp +++ b/Libraries/LibWeb/SVG/SVGGeometryElement.cpp @@ -28,8 +28,8 @@ namespace Web::SVG { -SVGGeometryElement::SVGGeometryElement(DOM::Document& document, const FlyString& tag_name) - : SVGGraphicsElement(document, tag_name) +SVGGeometryElement::SVGGeometryElement(DOM::Document& document, const QualifiedName& qualified_name) + : SVGGraphicsElement(document, qualified_name) { } diff --git a/Libraries/LibWeb/SVG/SVGGeometryElement.h b/Libraries/LibWeb/SVG/SVGGeometryElement.h index 3d3e6bcd3c..91c9e92288 100644 --- a/Libraries/LibWeb/SVG/SVGGeometryElement.h +++ b/Libraries/LibWeb/SVG/SVGGeometryElement.h @@ -35,7 +35,7 @@ public: using WrapperType = Bindings::SVGGeometryElementWrapper; protected: - SVGGeometryElement(DOM::Document& document, const FlyString& tag_name); + SVGGeometryElement(DOM::Document& document, const QualifiedName& qualified_name); }; } diff --git a/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp b/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp index 1e7556d693..2fca526027 100644 --- a/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp +++ b/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp @@ -28,8 +28,8 @@ namespace Web::SVG { -SVGGraphicsElement::SVGGraphicsElement(DOM::Document& document, const FlyString& tag_name) - : SVGElement(document, tag_name) +SVGGraphicsElement::SVGGraphicsElement(DOM::Document& document, const QualifiedName& qualified_name) + : SVGElement(document, qualified_name) { } diff --git a/Libraries/LibWeb/SVG/SVGGraphicsElement.h b/Libraries/LibWeb/SVG/SVGGraphicsElement.h index 413ca16001..657a448957 100644 --- a/Libraries/LibWeb/SVG/SVGGraphicsElement.h +++ b/Libraries/LibWeb/SVG/SVGGraphicsElement.h @@ -37,7 +37,7 @@ class SVGGraphicsElement : public SVGElement { public: using WrapperType = Bindings::SVGGraphicsElementWrapper; - SVGGraphicsElement(DOM::Document&, const FlyString& tag_name); + SVGGraphicsElement(DOM::Document&, const QualifiedName& qualified_name); virtual void parse_attribute(const FlyString& name, const String& value) override; diff --git a/Libraries/LibWeb/SVG/SVGPathElement.cpp b/Libraries/LibWeb/SVG/SVGPathElement.cpp index add1460cd7..36a2ef2fb6 100644 --- a/Libraries/LibWeb/SVG/SVGPathElement.cpp +++ b/Libraries/LibWeb/SVG/SVGPathElement.cpp @@ -425,8 +425,8 @@ bool PathDataParser::match_coordinate() const return !done() && (isdigit(ch()) || ch() == '-' || ch() == '+' || ch() == '.'); } -SVGPathElement::SVGPathElement(DOM::Document& document, const FlyString& tag_name) - : SVGGeometryElement(document, tag_name) +SVGPathElement::SVGPathElement(DOM::Document& document, const QualifiedName& qualified_name) + : SVGGeometryElement(document, qualified_name) { } diff --git a/Libraries/LibWeb/SVG/SVGPathElement.h b/Libraries/LibWeb/SVG/SVGPathElement.h index d08d197472..922c92b690 100644 --- a/Libraries/LibWeb/SVG/SVGPathElement.h +++ b/Libraries/LibWeb/SVG/SVGPathElement.h @@ -106,7 +106,7 @@ class SVGPathElement final : public SVGGeometryElement { public: using WrapperType = Bindings::SVGPathElementWrapper; - SVGPathElement(DOM::Document&, const FlyString& tag_name); + SVGPathElement(DOM::Document&, const QualifiedName& qualified_name); virtual ~SVGPathElement() override = default; virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style) override; diff --git a/Libraries/LibWeb/SVG/SVGSVGElement.cpp b/Libraries/LibWeb/SVG/SVGSVGElement.cpp index c22099c60e..0a0b2f75f3 100644 --- a/Libraries/LibWeb/SVG/SVGSVGElement.cpp +++ b/Libraries/LibWeb/SVG/SVGSVGElement.cpp @@ -35,8 +35,8 @@ namespace Web::SVG { -SVGSVGElement::SVGSVGElement(DOM::Document& document, const FlyString& tag_name) - : SVGGraphicsElement(document, tag_name) +SVGSVGElement::SVGSVGElement(DOM::Document& document, const QualifiedName& qualified_name) + : SVGGraphicsElement(document, qualified_name) { } diff --git a/Libraries/LibWeb/SVG/SVGSVGElement.h b/Libraries/LibWeb/SVG/SVGSVGElement.h index a4e3e46553..82be0cada2 100644 --- a/Libraries/LibWeb/SVG/SVGSVGElement.h +++ b/Libraries/LibWeb/SVG/SVGSVGElement.h @@ -35,7 +35,7 @@ class SVGSVGElement final : public SVGGraphicsElement { public: using WrapperType = Bindings::SVGSVGElementWrapper; - SVGSVGElement(DOM::Document&, const FlyString& tag_name); + SVGSVGElement(DOM::Document&, const QualifiedName& qualified_name); virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style) override; |