From 330c3fcb598bb626a2c8673e4c29daaa19e1bedc Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 7 Feb 2021 11:20:15 +0100 Subject: LibWeb: Use move semantics for QualifiedName more often --- Userland/Libraries/LibWeb/HTML/HTMLSourceElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Userland/Libraries/LibWeb/HTML/HTMLSourceElement.cpp') diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.cpp index 3dcf89815e..fee9a57dc3 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLSourceElement::HTMLSourceElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLSourceElement::HTMLSourceElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } -- cgit v1.2.3