summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp
index c4a4890160..4560bdadb8 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp
@@ -37,8 +37,8 @@
namespace Web::HTML {
-HTMLImageElement::HTMLImageElement(DOM::Document& document, const QualifiedName& qualified_name)
- : HTMLElement(document, qualified_name)
+HTMLImageElement::HTMLImageElement(DOM::Document& document, QualifiedName qualified_name)
+ : HTMLElement(document, move(qualified_name))
{
m_image_loader.on_load = [this] {
this->document().update_layout();