mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
LibWeb: Use move semantics for QualifiedName more often
This commit is contained in:
parent
10420dee7e
commit
330c3fcb59
157 changed files with 308 additions and 308 deletions
|
@ -28,8 +28,8 @@
|
|||
|
||||
namespace Web::SVG {
|
||||
|
||||
SVGElement::SVGElement(DOM::Document& document, const QualifiedName& qualified_name)
|
||||
: Element(document, qualified_name)
|
||||
SVGElement::SVGElement(DOM::Document& document, QualifiedName qualified_name)
|
||||
: Element(document, move(qualified_name))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
using WrapperType = Bindings::SVGElementWrapper;
|
||||
|
||||
protected:
|
||||
SVGElement(DOM::Document&, const QualifiedName& qualified_name);
|
||||
SVGElement(DOM::Document&, QualifiedName);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
namespace Web::SVG {
|
||||
|
||||
SVGGeometryElement::SVGGeometryElement(DOM::Document& document, const QualifiedName& qualified_name)
|
||||
: SVGGraphicsElement(document, qualified_name)
|
||||
SVGGeometryElement::SVGGeometryElement(DOM::Document& document, QualifiedName qualified_name)
|
||||
: SVGGraphicsElement(document, move(qualified_name))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
using WrapperType = Bindings::SVGGeometryElementWrapper;
|
||||
|
||||
protected:
|
||||
SVGGeometryElement(DOM::Document& document, const QualifiedName& qualified_name);
|
||||
SVGGeometryElement(DOM::Document& document, QualifiedName qualified_name);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
namespace Web::SVG {
|
||||
|
||||
SVGGraphicsElement::SVGGraphicsElement(DOM::Document& document, const QualifiedName& qualified_name)
|
||||
: SVGElement(document, qualified_name)
|
||||
SVGGraphicsElement::SVGGraphicsElement(DOM::Document& document, QualifiedName qualified_name)
|
||||
: SVGElement(document, move(qualified_name))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class SVGGraphicsElement : public SVGElement {
|
|||
public:
|
||||
using WrapperType = Bindings::SVGGraphicsElementWrapper;
|
||||
|
||||
SVGGraphicsElement(DOM::Document&, const QualifiedName& qualified_name);
|
||||
SVGGraphicsElement(DOM::Document&, QualifiedName);
|
||||
|
||||
virtual void parse_attribute(const FlyString& name, const String& value) override;
|
||||
|
||||
|
|
|
@ -431,8 +431,8 @@ bool PathDataParser::match_coordinate() const
|
|||
return !done() && (isdigit(ch()) || ch() == '-' || ch() == '+' || ch() == '.');
|
||||
}
|
||||
|
||||
SVGPathElement::SVGPathElement(DOM::Document& document, const QualifiedName& qualified_name)
|
||||
: SVGGeometryElement(document, qualified_name)
|
||||
SVGPathElement::SVGPathElement(DOM::Document& document, QualifiedName qualified_name)
|
||||
: SVGGeometryElement(document, move(qualified_name))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ class SVGPathElement final : public SVGGeometryElement {
|
|||
public:
|
||||
using WrapperType = Bindings::SVGPathElementWrapper;
|
||||
|
||||
SVGPathElement(DOM::Document&, const QualifiedName& qualified_name);
|
||||
SVGPathElement(DOM::Document&, QualifiedName);
|
||||
virtual ~SVGPathElement() override = default;
|
||||
|
||||
virtual RefPtr<Layout::Node> create_layout_node() override;
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
namespace Web::SVG {
|
||||
|
||||
SVGSVGElement::SVGSVGElement(DOM::Document& document, const QualifiedName& qualified_name)
|
||||
SVGSVGElement::SVGSVGElement(DOM::Document& document, QualifiedName qualified_name)
|
||||
: SVGGraphicsElement(document, qualified_name)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ class SVGSVGElement final : public SVGGraphicsElement {
|
|||
public:
|
||||
using WrapperType = Bindings::SVGSVGElementWrapper;
|
||||
|
||||
SVGSVGElement(DOM::Document&, const QualifiedName& qualified_name);
|
||||
SVGSVGElement(DOM::Document&, QualifiedName);
|
||||
|
||||
virtual RefPtr<Layout::Node> create_layout_node() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue