summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLPreElement.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-07 11:20:15 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-07 11:20:15 +0100
commit330c3fcb598bb626a2c8673e4c29daaa19e1bedc (patch)
tree95e216faeed8637a923ebb5bb144e047128cf5cf /Userland/Libraries/LibWeb/HTML/HTMLPreElement.cpp
parent10420dee7e48c818a7b1c5386b8fcebc587825f0 (diff)
downloadserenity-330c3fcb598bb626a2c8673e4c29daaa19e1bedc.zip
LibWeb: Use move semantics for QualifiedName more often
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLPreElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLPreElement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLPreElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLPreElement.cpp
index 69349d7238..11b115748d 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLPreElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLPreElement.cpp
@@ -28,8 +28,8 @@
namespace Web::HTML {
-HTMLPreElement::HTMLPreElement(DOM::Document& document, const QualifiedName& qualified_name)
- : HTMLElement(document, qualified_name)
+HTMLPreElement::HTMLPreElement(DOM::Document& document, QualifiedName qualified_name)
+ : HTMLElement(document, move(qualified_name))
{
}