diff options
Diffstat (limited to 'Userland/Libraries/LibWeb')
157 files changed, 308 insertions, 308 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Element.cpp b/Userland/Libraries/LibWeb/DOM/Element.cpp index f67ec40416..443a4711a5 100644 --- a/Userland/Libraries/LibWeb/DOM/Element.cpp +++ b/Userland/Libraries/LibWeb/DOM/Element.cpp @@ -48,9 +48,9 @@ namespace Web::DOM { -Element::Element(Document& document, const QualifiedName& qualified_name) +Element::Element(Document& document, QualifiedName qualified_name) : ParentNode(document, NodeType::ELEMENT_NODE) - , m_qualified_name(qualified_name) + , m_qualified_name(move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/DOM/Element.h b/Userland/Libraries/LibWeb/DOM/Element.h index 2269ce4c2b..ae5c53f16a 100644 --- a/Userland/Libraries/LibWeb/DOM/Element.h +++ b/Userland/Libraries/LibWeb/DOM/Element.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> + * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -45,7 +45,7 @@ class Element public: using WrapperType = Bindings::ElementWrapper; - Element(Document&, const QualifiedName& qualified_name); + Element(Document&, QualifiedName); virtual ~Element() override; virtual FlyString node_name() const final { return m_qualified_name.local_name(); } diff --git a/Userland/Libraries/LibWeb/DOM/ElementFactory.cpp b/Userland/Libraries/LibWeb/DOM/ElementFactory.cpp index 810d82efdc..ca0e767923 100644 --- a/Userland/Libraries/LibWeb/DOM/ElementFactory.cpp +++ b/Userland/Libraries/LibWeb/DOM/ElementFactory.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> + * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org> * Copyright (c) 2020, Luke Wilde <luke.wilde@live.co.uk> * All rights reserved. * @@ -108,157 +108,157 @@ NonnullRefPtr<Element> create_element(Document& document, const FlyString& tag_n // FIXME: Add prefix when we support it. auto qualified_name = QualifiedName(tag_name, {}, namespace_); if (lowercase_tag_name == HTML::TagNames::a) - return adopt(*new HTML::HTMLAnchorElement(document, qualified_name)); + return adopt(*new HTML::HTMLAnchorElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::area) - return adopt(*new HTML::HTMLAreaElement(document, qualified_name)); + return adopt(*new HTML::HTMLAreaElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::audio) - return adopt(*new HTML::HTMLAudioElement(document, qualified_name)); + return adopt(*new HTML::HTMLAudioElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::base) - return adopt(*new HTML::HTMLBaseElement(document, qualified_name)); + return adopt(*new HTML::HTMLBaseElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::blink) - return adopt(*new HTML::HTMLBlinkElement(document, qualified_name)); + return adopt(*new HTML::HTMLBlinkElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::body) - return adopt(*new HTML::HTMLBodyElement(document, qualified_name)); + return adopt(*new HTML::HTMLBodyElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::br) - return adopt(*new HTML::HTMLBRElement(document, qualified_name)); + return adopt(*new HTML::HTMLBRElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::button) - return adopt(*new HTML::HTMLButtonElement(document, qualified_name)); + return adopt(*new HTML::HTMLButtonElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::canvas) - return adopt(*new HTML::HTMLCanvasElement(document, qualified_name)); + return adopt(*new HTML::HTMLCanvasElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::data) - return adopt(*new HTML::HTMLDataElement(document, qualified_name)); + return adopt(*new HTML::HTMLDataElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::datalist) - return adopt(*new HTML::HTMLDataListElement(document, qualified_name)); + return adopt(*new HTML::HTMLDataListElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::details) - return adopt(*new HTML::HTMLDetailsElement(document, qualified_name)); + return adopt(*new HTML::HTMLDetailsElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::dialog) - return adopt(*new HTML::HTMLDialogElement(document, qualified_name)); + return adopt(*new HTML::HTMLDialogElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::dir) - return adopt(*new HTML::HTMLDirectoryElement(document, qualified_name)); + return adopt(*new HTML::HTMLDirectoryElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::div) - return adopt(*new HTML::HTMLDivElement(document, qualified_name)); + return adopt(*new HTML::HTMLDivElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::dl) - return adopt(*new HTML::HTMLDListElement(document, qualified_name)); + return adopt(*new HTML::HTMLDListElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::embed) - return adopt(*new HTML::HTMLEmbedElement(document, qualified_name)); + return adopt(*new HTML::HTMLEmbedElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::fieldset) - return adopt(*new HTML::HTMLFieldSetElement(document, qualified_name)); + return adopt(*new HTML::HTMLFieldSetElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::font) - return adopt(*new HTML::HTMLFontElement(document, qualified_name)); + return adopt(*new HTML::HTMLFontElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::form) - return adopt(*new HTML::HTMLFormElement(document, qualified_name)); + return adopt(*new HTML::HTMLFormElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::frame) - return adopt(*new HTML::HTMLFrameElement(document, qualified_name)); + return adopt(*new HTML::HTMLFrameElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::frameset) - return adopt(*new HTML::HTMLFrameSetElement(document, qualified_name)); + return adopt(*new HTML::HTMLFrameSetElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::head) - return adopt(*new HTML::HTMLHeadElement(document, qualified_name)); + return adopt(*new HTML::HTMLHeadElement(document, move(qualified_name))); if (lowercase_tag_name.is_one_of(HTML::TagNames::h1, HTML::TagNames::h2, HTML::TagNames::h3, HTML::TagNames::h4, HTML::TagNames::h5, HTML::TagNames::h6)) - return adopt(*new HTML::HTMLHeadingElement(document, qualified_name)); + return adopt(*new HTML::HTMLHeadingElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::hr) - return adopt(*new HTML::HTMLHRElement(document, qualified_name)); + return adopt(*new HTML::HTMLHRElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::html) - return adopt(*new HTML::HTMLHtmlElement(document, qualified_name)); + return adopt(*new HTML::HTMLHtmlElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::iframe) - return adopt(*new HTML::HTMLIFrameElement(document, qualified_name)); + return adopt(*new HTML::HTMLIFrameElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::img) - return adopt(*new HTML::HTMLImageElement(document, qualified_name)); + return adopt(*new HTML::HTMLImageElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::input) - return adopt(*new HTML::HTMLInputElement(document, qualified_name)); + return adopt(*new HTML::HTMLInputElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::label) - return adopt(*new HTML::HTMLLabelElement(document, qualified_name)); + return adopt(*new HTML::HTMLLabelElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::legend) - return adopt(*new HTML::HTMLLegendElement(document, qualified_name)); + return adopt(*new HTML::HTMLLegendElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::li) - return adopt(*new HTML::HTMLLIElement(document, qualified_name)); + return adopt(*new HTML::HTMLLIElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::link) - return adopt(*new HTML::HTMLLinkElement(document, qualified_name)); + return adopt(*new HTML::HTMLLinkElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::map) - return adopt(*new HTML::HTMLMapElement(document, qualified_name)); + return adopt(*new HTML::HTMLMapElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::marquee) - return adopt(*new HTML::HTMLMarqueeElement(document, qualified_name)); + return adopt(*new HTML::HTMLMarqueeElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::menu) - return adopt(*new HTML::HTMLMenuElement(document, qualified_name)); + return adopt(*new HTML::HTMLMenuElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::meta) - return adopt(*new HTML::HTMLMetaElement(document, qualified_name)); + return adopt(*new HTML::HTMLMetaElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::meter) - return adopt(*new HTML::HTMLMeterElement(document, qualified_name)); + return adopt(*new HTML::HTMLMeterElement(document, move(qualified_name))); if (lowercase_tag_name.is_one_of(HTML::TagNames::ins, HTML::TagNames::del)) - return adopt(*new HTML::HTMLModElement(document, qualified_name)); + return adopt(*new HTML::HTMLModElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::object) - return adopt(*new HTML::HTMLObjectElement(document, qualified_name)); + return adopt(*new HTML::HTMLObjectElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::ol) - return adopt(*new HTML::HTMLOListElement(document, qualified_name)); + return adopt(*new HTML::HTMLOListElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::optgroup) - return adopt(*new HTML::HTMLOptGroupElement(document, qualified_name)); + return adopt(*new HTML::HTMLOptGroupElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::option) - return adopt(*new HTML::HTMLOptionElement(document, qualified_name)); + return adopt(*new HTML::HTMLOptionElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::output) - return adopt(*new HTML::HTMLOutputElement(document, qualified_name)); + return adopt(*new HTML::HTMLOutputElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::p) - return adopt(*new HTML::HTMLParagraphElement(document, qualified_name)); + return adopt(*new HTML::HTMLParagraphElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::param) - return adopt(*new HTML::HTMLParamElement(document, qualified_name)); + return adopt(*new HTML::HTMLParamElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::picture) - return adopt(*new HTML::HTMLPictureElement(document, qualified_name)); + return adopt(*new HTML::HTMLPictureElement(document, move(qualified_name))); // NOTE: The obsolete elements "listing" and "xmp" are explicitly mapped to HTMLPreElement in the specification. if (lowercase_tag_name.is_one_of(HTML::TagNames::pre, HTML::TagNames::listing, HTML::TagNames::xmp)) - return adopt(*new HTML::HTMLPreElement(document, qualified_name)); + return adopt(*new HTML::HTMLPreElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::progress) - return adopt(*new HTML::HTMLProgressElement(document, qualified_name)); + return adopt(*new HTML::HTMLProgressElement(document, move(qualified_name))); if (lowercase_tag_name.is_one_of(HTML::TagNames::blockquote, HTML::TagNames::q)) - return adopt(*new HTML::HTMLQuoteElement(document, qualified_name)); + return adopt(*new HTML::HTMLQuoteElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::script) - return adopt(*new HTML::HTMLScriptElement(document, qualified_name)); + return adopt(*new HTML::HTMLScriptElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::select) - return adopt(*new HTML::HTMLSelectElement(document, qualified_name)); + return adopt(*new HTML::HTMLSelectElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::slot) - return adopt(*new HTML::HTMLSlotElement(document, qualified_name)); + return adopt(*new HTML::HTMLSlotElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::source) - return adopt(*new HTML::HTMLSourceElement(document, qualified_name)); + return adopt(*new HTML::HTMLSourceElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::span) - return adopt(*new HTML::HTMLSpanElement(document, qualified_name)); + return adopt(*new HTML::HTMLSpanElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::style) - return adopt(*new HTML::HTMLStyleElement(document, qualified_name)); + return adopt(*new HTML::HTMLStyleElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::caption) - return adopt(*new HTML::HTMLTableCaptionElement(document, qualified_name)); + return adopt(*new HTML::HTMLTableCaptionElement(document, move(qualified_name))); if (lowercase_tag_name.is_one_of(Web::HTML::TagNames::td, Web::HTML::TagNames::th)) - return adopt(*new HTML::HTMLTableCellElement(document, qualified_name)); + return adopt(*new HTML::HTMLTableCellElement(document, move(qualified_name))); if (lowercase_tag_name.is_one_of(HTML::TagNames::colgroup, HTML::TagNames::col)) - return adopt(*new HTML::HTMLTableColElement(document, qualified_name)); + return adopt(*new HTML::HTMLTableColElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::table) - return adopt(*new HTML::HTMLTableElement(document, qualified_name)); + return adopt(*new HTML::HTMLTableElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::tr) - return adopt(*new HTML::HTMLTableRowElement(document, qualified_name)); + return adopt(*new HTML::HTMLTableRowElement(document, move(qualified_name))); if (lowercase_tag_name.is_one_of(HTML::TagNames::tbody, HTML::TagNames::thead, HTML::TagNames::tfoot)) - return adopt(*new HTML::HTMLTableSectionElement(document, qualified_name)); + return adopt(*new HTML::HTMLTableSectionElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::template_) - return adopt(*new HTML::HTMLTemplateElement(document, qualified_name)); + return adopt(*new HTML::HTMLTemplateElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::textarea) - return adopt(*new HTML::HTMLTextAreaElement(document, qualified_name)); + return adopt(*new HTML::HTMLTextAreaElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::time) - return adopt(*new HTML::HTMLTimeElement(document, qualified_name)); + return adopt(*new HTML::HTMLTimeElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::title) - return adopt(*new HTML::HTMLTitleElement(document, qualified_name)); + return adopt(*new HTML::HTMLTitleElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::track) - return adopt(*new HTML::HTMLTrackElement(document, qualified_name)); + return adopt(*new HTML::HTMLTrackElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::ul) - return adopt(*new HTML::HTMLUListElement(document, qualified_name)); + return adopt(*new HTML::HTMLUListElement(document, move(qualified_name))); if (lowercase_tag_name == HTML::TagNames::video) - return adopt(*new HTML::HTMLVideoElement(document, qualified_name)); + return adopt(*new HTML::HTMLVideoElement(document, move(qualified_name))); if (lowercase_tag_name.is_one_of( HTML::TagNames::article, HTML::TagNames::section, HTML::TagNames::nav, HTML::TagNames::aside, HTML::TagNames::hgroup, HTML::TagNames::header, HTML::TagNames::footer, HTML::TagNames::address, HTML::TagNames::dt, HTML::TagNames::dd, HTML::TagNames::figure, HTML::TagNames::figcaption, HTML::TagNames::main, HTML::TagNames::em, HTML::TagNames::strong, HTML::TagNames::small, HTML::TagNames::s, HTML::TagNames::cite, HTML::TagNames::dfn, HTML::TagNames::abbr, HTML::TagNames::ruby, HTML::TagNames::rt, HTML::TagNames::rp, HTML::TagNames::code, HTML::TagNames::var, HTML::TagNames::samp, HTML::TagNames::kbd, HTML::TagNames::sub, HTML::TagNames::sup, HTML::TagNames::i, HTML::TagNames::b, HTML::TagNames::u, HTML::TagNames::mark, HTML::TagNames::bdi, HTML::TagNames::bdo, HTML::TagNames::wbr, HTML::TagNames::summary, HTML::TagNames::noscript, // Obsolete HTML::TagNames::acronym, HTML::TagNames::basefont, HTML::TagNames::big, HTML::TagNames::center, HTML::TagNames::nobr, HTML::TagNames::noembed, HTML::TagNames::noframes, HTML::TagNames::plaintext, HTML::TagNames::rb, HTML::TagNames::rtc, HTML::TagNames::strike, HTML::TagNames::tt)) - return adopt(*new HTML::HTMLElement(document, qualified_name)); + return adopt(*new HTML::HTMLElement(document, move(qualified_name))); if (lowercase_tag_name == SVG::TagNames::svg) - return adopt(*new SVG::SVGSVGElement(document, qualified_name)); + return adopt(*new SVG::SVGSVGElement(document, move(qualified_name))); if (lowercase_tag_name == SVG::TagNames::path) - return adopt(*new SVG::SVGPathElement(document, qualified_name)); + return adopt(*new SVG::SVGPathElement(document, move(qualified_name))); // FIXME: If name is a valid custom element name, then return HTMLElement. - return adopt(*new HTML::HTMLUnknownElement(document, qualified_name)); + return adopt(*new HTML::HTMLUnknownElement(document, move(qualified_name))); } } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.cpp index f79debf4cc..63fef627d2 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLAnchorElement::HTMLAnchorElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLAnchorElement::HTMLAnchorElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.h b/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.h index 02d7349116..e596cb115b 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.h @@ -34,7 +34,7 @@ class HTMLAnchorElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLAnchorElementWrapper; - HTMLAnchorElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLAnchorElement(DOM::Document&, QualifiedName); virtual ~HTMLAnchorElement() override; String href() const { return attribute(HTML::AttributeNames::href); } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.cpp index fe9c9a2147..24b9773ebb 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLAreaElement::HTMLAreaElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLAreaElement::HTMLAreaElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.h b/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.h index 29fa82ffa0..84a8ee2f2e 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.h @@ -34,7 +34,7 @@ class HTMLAreaElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLAreaElementWrapper; - HTMLAreaElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLAreaElement(DOM::Document&, QualifiedName); virtual ~HTMLAreaElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.cpp index 2653ebf944..9f7103ef45 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLAudioElement::HTMLAudioElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLMediaElement(document, qualified_name) +HTMLAudioElement::HTMLAudioElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLMediaElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.h b/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.h index ce6a43b021..f7810ef647 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.h @@ -34,7 +34,7 @@ class HTMLAudioElement final : public HTMLMediaElement { public: using WrapperType = Bindings::HTMLAudioElementWrapper; - HTMLAudioElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLAudioElement(DOM::Document&, QualifiedName); virtual ~HTMLAudioElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBRElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLBRElement.cpp index d3a0bc1b9e..828749892e 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBRElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLBRElement.cpp @@ -29,8 +29,8 @@ namespace Web::HTML { -HTMLBRElement::HTMLBRElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLBRElement::HTMLBRElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBRElement.h b/Userland/Libraries/LibWeb/HTML/HTMLBRElement.h index 5e453c6ecb..747cc7912a 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBRElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLBRElement.h @@ -34,7 +34,7 @@ class HTMLBRElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLBRElementWrapper; - HTMLBRElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLBRElement(DOM::Document&, QualifiedName); virtual ~HTMLBRElement() override; virtual RefPtr<Layout::Node> create_layout_node() override; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.cpp index 975d0bddda..2f1da7026a 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLBaseElement::HTMLBaseElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLBaseElement::HTMLBaseElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.h b/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.h index ce2be21e0d..5b41451e7d 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.h @@ -34,7 +34,7 @@ class HTMLBaseElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLBaseElementWrapper; - HTMLBaseElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLBaseElement(DOM::Document&, QualifiedName); virtual ~HTMLBaseElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.cpp index 911a8940bd..c3ad2be9a0 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.cpp @@ -32,8 +32,8 @@ namespace Web::HTML { -HTMLBlinkElement::HTMLBlinkElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLBlinkElement::HTMLBlinkElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) , m_timer(Core::Timer::construct()) { m_timer->set_interval(500); diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.h b/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.h index e4c4c3421f..14783f3112 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.h @@ -33,7 +33,7 @@ namespace Web::HTML { class HTMLBlinkElement final : public HTMLElement { public: - HTMLBlinkElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLBlinkElement(DOM::Document&, QualifiedName); virtual ~HTMLBlinkElement() override; private: diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp index 4e3277f396..d2f071314d 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.cpp @@ -32,8 +32,8 @@ namespace Web::HTML { -HTMLBodyElement::HTMLBodyElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLBodyElement::HTMLBodyElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.h b/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.h index e5e169621a..4658e21fce 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.h @@ -34,7 +34,7 @@ class HTMLBodyElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLBodyElementWrapper; - HTMLBodyElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLBodyElement(DOM::Document&, QualifiedName); virtual ~HTMLBodyElement() override; virtual void parse_attribute(const FlyString&, const String&) override; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp index ec4925965b..4a60b3f1b5 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLButtonElement::HTMLButtonElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLButtonElement::HTMLButtonElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.h b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.h index 234656a97d..1c02ea006f 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.h @@ -34,7 +34,7 @@ class HTMLButtonElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLButtonElementWrapper; - HTMLButtonElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLButtonElement(DOM::Document&, QualifiedName); virtual ~HTMLButtonElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.cpp index d015225460..9144211b07 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.cpp @@ -36,8 +36,8 @@ namespace Web::HTML { static constexpr auto max_canvas_area = 16384 * 16384; -HTMLCanvasElement::HTMLCanvasElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLCanvasElement::HTMLCanvasElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.h b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.h index 9616af98b7..43df33f710 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.h @@ -36,7 +36,7 @@ class HTMLCanvasElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLCanvasElementWrapper; - HTMLCanvasElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLCanvasElement(DOM::Document&, QualifiedName); virtual ~HTMLCanvasElement() override; const Gfx::Bitmap* bitmap() const { return m_bitmap; } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDListElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLDListElement.cpp index ce68845ca6..0096869367 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDListElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLDListElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLDListElement::HTMLDListElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLDListElement::HTMLDListElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDListElement.h b/Userland/Libraries/LibWeb/HTML/HTMLDListElement.h index cf0fe2a9c2..b73d4f1154 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDListElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLDListElement.h @@ -34,7 +34,7 @@ class HTMLDListElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLDListElementWrapper; - HTMLDListElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLDListElement(DOM::Document&, QualifiedName); virtual ~HTMLDListElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDataElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLDataElement.cpp index 1a23f48fd9..c95c5cbc99 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDataElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLDataElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLDataElement::HTMLDataElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLDataElement::HTMLDataElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDataElement.h b/Userland/Libraries/LibWeb/HTML/HTMLDataElement.h index 21918958cd..67a52491bc 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDataElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLDataElement.h @@ -34,7 +34,7 @@ class HTMLDataElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLDataElementWrapper; - HTMLDataElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLDataElement(DOM::Document&, QualifiedName); virtual ~HTMLDataElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.cpp index 32bae03035..65022ef1fa 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLDataListElement::HTMLDataListElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLDataListElement::HTMLDataListElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.h b/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.h index 85bc7ccf7d..299c8934b6 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.h @@ -34,7 +34,7 @@ class HTMLDataListElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLDataListElementWrapper; - HTMLDataListElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLDataListElement(DOM::Document&, QualifiedName); virtual ~HTMLDataListElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.cpp index abcdf0801a..ce3ce34889 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLDetailsElement::HTMLDetailsElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLDetailsElement::HTMLDetailsElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.h b/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.h index 2bdbf673f8..0f1ea6c36e 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.h @@ -34,7 +34,7 @@ class HTMLDetailsElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLDetailsElementWrapper; - HTMLDetailsElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLDetailsElement(DOM::Document&, QualifiedName); virtual ~HTMLDetailsElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.cpp index 7437ca2261..adfd7f82b6 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLDialogElement::HTMLDialogElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLDialogElement::HTMLDialogElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.h b/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.h index 133f65ddbd..88eb3c0bd3 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.h @@ -34,7 +34,7 @@ class HTMLDialogElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLDialogElementWrapper; - HTMLDialogElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLDialogElement(DOM::Document&, QualifiedName); virtual ~HTMLDialogElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.cpp index 53fee8b14a..e6025923c9 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLDirectoryElement::HTMLDirectoryElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLDirectoryElement::HTMLDirectoryElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.h b/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.h index 39a9f5ae94..fdf44f4bbf 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.h @@ -35,7 +35,7 @@ class HTMLDirectoryElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLDirectoryElementWrapper; - HTMLDirectoryElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLDirectoryElement(DOM::Document&, QualifiedName); virtual ~HTMLDirectoryElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDivElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLDivElement.cpp index 7392f8ec80..59134b9843 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDivElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLDivElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLDivElement::HTMLDivElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLDivElement::HTMLDivElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDivElement.h b/Userland/Libraries/LibWeb/HTML/HTMLDivElement.h index eade002544..e47a5bb793 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDivElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLDivElement.h @@ -34,7 +34,7 @@ class HTMLDivElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLDivElementWrapper; - HTMLDivElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLDivElement(DOM::Document&, QualifiedName); virtual ~HTMLDivElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp index ac09cb1d7a..c2dbce6bdd 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp @@ -39,8 +39,8 @@ namespace Web::HTML { -HTMLElement::HTMLElement(DOM::Document& document, const QualifiedName& qualified_name) - : Element(document, qualified_name) +HTMLElement::HTMLElement(DOM::Document& document, QualifiedName qualified_name) + : Element(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.h b/Userland/Libraries/LibWeb/HTML/HTMLElement.h index b070c13e49..af6fa8cdbe 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.h @@ -38,7 +38,7 @@ class HTMLElement public: using WrapperType = Bindings::HTMLElementWrapper; - HTMLElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLElement(DOM::Document&, QualifiedName); virtual ~HTMLElement() override; String title() const { return attribute(HTML::AttributeNames::title); } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.cpp index 1ec87b0fd0..1c62fe672c 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLEmbedElement::HTMLEmbedElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLEmbedElement::HTMLEmbedElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.h b/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.h index 1ceaaae634..b6d13fdfc5 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.h @@ -34,7 +34,7 @@ class HTMLEmbedElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLEmbedElementWrapper; - HTMLEmbedElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLEmbedElement(DOM::Document&, QualifiedName); virtual ~HTMLEmbedElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.cpp index 6a6c5bf87e..4c0260343d 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLFieldSetElement::HTMLFieldSetElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLFieldSetElement::HTMLFieldSetElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h b/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h index b9ffcf43be..e0612e67bd 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.h @@ -34,7 +34,7 @@ class HTMLFieldSetElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLFieldSetElementWrapper; - HTMLFieldSetElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLFieldSetElement(DOM::Document&, QualifiedName); virtual ~HTMLFieldSetElement() override; const String& type() const diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFontElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLFontElement.cpp index 50ef0e37f5..bef18375e3 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFontElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLFontElement.cpp @@ -30,8 +30,8 @@ namespace Web::HTML { -HTMLFontElement::HTMLFontElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLFontElement::HTMLFontElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFontElement.h b/Userland/Libraries/LibWeb/HTML/HTMLFontElement.h index d414abc5a8..c523378351 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFontElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLFontElement.h @@ -34,7 +34,7 @@ class HTMLFontElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLFontElementWrapper; - HTMLFontElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLFontElement(DOM::Document&, QualifiedName); virtual ~HTMLFontElement() override; virtual void apply_presentational_hints(CSS::StyleProperties&) const override; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp index b632dab482..5d36bf51ee 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp @@ -35,8 +35,8 @@ namespace Web::HTML { -HTMLFormElement::HTMLFormElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLFormElement::HTMLFormElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.h b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.h index 8f90e8f3f7..8c5b3d1669 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.h @@ -35,7 +35,7 @@ class HTMLFormElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLFormElementWrapper; - HTMLFormElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLFormElement(DOM::Document&, QualifiedName); virtual ~HTMLFormElement() override; String action() const { return attribute(HTML::AttributeNames::action); } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp index ba2e0fb470..e57d51f5c4 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLFrameElement::HTMLFrameElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLFrameElement::HTMLFrameElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.h b/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.h index 7541bc80b5..abc48e66fd 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.h @@ -35,7 +35,7 @@ class HTMLFrameElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLFrameElementWrapper; - HTMLFrameElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLFrameElement(DOM::Document&, QualifiedName); virtual ~HTMLFrameElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp index 128da69ccf..d7b974b204 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLFrameSetElement::HTMLFrameSetElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLFrameSetElement::HTMLFrameSetElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.h b/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.h index 0c2af01678..1e81e3dc57 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.h @@ -35,7 +35,7 @@ class HTMLFrameSetElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLFrameSetElementWrapper; - HTMLFrameSetElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLFrameSetElement(DOM::Document&, QualifiedName); virtual ~HTMLFrameSetElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHRElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLHRElement.cpp index 82574cf789..22af12d00f 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHRElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLHRElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLHRElement::HTMLHRElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLHRElement::HTMLHRElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHRElement.h b/Userland/Libraries/LibWeb/HTML/HTMLHRElement.h index e8a23c1a19..9fa9ccf9bc 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHRElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLHRElement.h @@ -34,7 +34,7 @@ class HTMLHRElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLHRElementWrapper; - HTMLHRElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLHRElement(DOM::Document&, QualifiedName); virtual ~HTMLHRElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.cpp index a17ead858b..b463a08885 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLHeadElement::HTMLHeadElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLHeadElement::HTMLHeadElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.h b/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.h index d378e1af77..f04ed97a8b 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.h @@ -34,7 +34,7 @@ class HTMLHeadElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLHeadElementWrapper; - HTMLHeadElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLHeadElement(DOM::Document&, QualifiedName); virtual ~HTMLHeadElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.cpp index b899c873a5..de2ec2f57d 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLHeadingElement::HTMLHeadingElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLHeadingElement::HTMLHeadingElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.h b/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.h index 654b75baf9..f9c3072a32 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.h @@ -34,7 +34,7 @@ class HTMLHeadingElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLHeadingElementWrapper; - HTMLHeadingElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLHeadingElement(DOM::Document&, QualifiedName); virtual ~HTMLHeadingElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp index ab1233f739..9b64522945 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLHtmlElement::HTMLHtmlElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLHtmlElement::HTMLHtmlElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.h b/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.h index 3e34c52f6c..aa6bf3f602 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.h @@ -34,7 +34,7 @@ class HTMLHtmlElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLHtmlElementWrapper; - HTMLHtmlElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLHtmlElement(DOM::Document&, QualifiedName); virtual ~HTMLHtmlElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp index f13eeebf3f..73640330e9 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp @@ -44,8 +44,8 @@ namespace Web::HTML { -HTMLIFrameElement::HTMLIFrameElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLIFrameElement::HTMLIFrameElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { ASSERT(document.frame()); m_content_frame = Frame::create_subframe(*this, document.frame()->main_frame()); diff --git a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.h b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.h index 0237ea3c91..e3cd3bb882 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.h @@ -34,7 +34,7 @@ class HTMLIFrameElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLIFrameElementWrapper; - HTMLIFrameElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLIFrameElement(DOM::Document&, QualifiedName); virtual ~HTMLIFrameElement() override; virtual RefPtr<Layout::Node> create_layout_node() override; 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(); diff --git a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.h b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.h index 7cc97f1983..84e5b6d6c7 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.h @@ -38,7 +38,7 @@ class HTMLImageElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLImageElementWrapper; - HTMLImageElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLImageElement(DOM::Document&, QualifiedName); virtual ~HTMLImageElement() override; virtual void parse_attribute(const FlyString& name, const String& value) override; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp index 2f0d16168d..48a41defdd 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp @@ -40,8 +40,8 @@ namespace Web::HTML { -HTMLInputElement::HTMLInputElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLInputElement::HTMLInputElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.h b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.h index b887118263..d4f66b3e83 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.h @@ -34,7 +34,7 @@ class HTMLInputElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLInputElementWrapper; - HTMLInputElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLInputElement(DOM::Document&, QualifiedName); virtual ~HTMLInputElement() override; virtual RefPtr<Layout::Node> create_layout_node() override; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLIElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLLIElement.cpp index fbdb4d0444..055c78a04b 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLIElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLLIElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLLIElement::HTMLLIElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLLIElement::HTMLLIElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLIElement.h b/Userland/Libraries/LibWeb/HTML/HTMLLIElement.h index b0113aef9c..3d38e12286 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLIElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLLIElement.h @@ -34,7 +34,7 @@ class HTMLLIElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLLIElementWrapper; - HTMLLIElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLLIElement(DOM::Document&, QualifiedName); virtual ~HTMLLIElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.cpp index 766c64eecd..8122c58033 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLLabelElement::HTMLLabelElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLLabelElement::HTMLLabelElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.h b/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.h index 210e366ee0..36ec0c8090 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.h @@ -34,7 +34,7 @@ class HTMLLabelElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLLabelElementWrapper; - HTMLLabelElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLLabelElement(DOM::Document&, QualifiedName); virtual ~HTMLLabelElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.cpp index aa2bbc2049..30ae415127 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLLegendElement::HTMLLegendElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLLegendElement::HTMLLegendElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.h b/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.h index 02a8b24585..c8d32a37c2 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.h @@ -34,7 +34,7 @@ class HTMLLegendElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLLegendElementWrapper; - HTMLLegendElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLLegendElement(DOM::Document&, QualifiedName); virtual ~HTMLLegendElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp index 1fc7a38240..8383ce0360 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.cpp @@ -35,8 +35,8 @@ namespace Web::HTML { -HTMLLinkElement::HTMLLinkElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLLinkElement::HTMLLinkElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.h b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.h index ac91ecbe21..d225cf8bbd 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.h @@ -37,7 +37,7 @@ class HTMLLinkElement final public: using WrapperType = Bindings::HTMLLinkElementWrapper; - HTMLLinkElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLLinkElement(DOM::Document&, QualifiedName); virtual ~HTMLLinkElement() override; virtual void inserted_into(Node&) override; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMapElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLMapElement.cpp index c85b871c71..84324b67a4 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMapElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLMapElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLMapElement::HTMLMapElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLMapElement::HTMLMapElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMapElement.h b/Userland/Libraries/LibWeb/HTML/HTMLMapElement.h index 23b59ce6fc..a37e07268c 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMapElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLMapElement.h @@ -34,7 +34,7 @@ class HTMLMapElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLMapElementWrapper; - HTMLMapElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLMapElement(DOM::Document&, QualifiedName); virtual ~HTMLMapElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.cpp index 02e5e2ec6c..ea92ca6b73 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLMarqueeElement::HTMLMarqueeElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLMarqueeElement::HTMLMarqueeElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.h b/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.h index 0a2e5f5e32..cf4446c372 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.h @@ -35,7 +35,7 @@ class HTMLMarqueeElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLMarqueeElementWrapper; - HTMLMarqueeElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLMarqueeElement(DOM::Document&, QualifiedName); virtual ~HTMLMarqueeElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp index 15e4c01195..5c4e3d4352 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLMediaElement::HTMLMediaElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLMediaElement::HTMLMediaElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h index 53adde12e3..c6f09ea0b6 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h @@ -34,7 +34,7 @@ class HTMLMediaElement : public HTMLElement { public: using WrapperType = Bindings::HTMLMediaElementWrapper; - HTMLMediaElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLMediaElement(DOM::Document&, QualifiedName); virtual ~HTMLMediaElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.cpp index bcda7e5f56..e11eed397a 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLMenuElement::HTMLMenuElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLMenuElement::HTMLMenuElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.h b/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.h index 8fe2acca90..4ebda268ac 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.h @@ -34,7 +34,7 @@ class HTMLMenuElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLMenuElementWrapper; - HTMLMenuElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLMenuElement(DOM::Document&, QualifiedName); virtual ~HTMLMenuElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.cpp index 64c50a19e3..d58f2e72d4 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLMetaElement::HTMLMetaElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLMetaElement::HTMLMetaElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.h b/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.h index e48271c826..9fe21212d8 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.h @@ -34,7 +34,7 @@ class HTMLMetaElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLMetaElementWrapper; - HTMLMetaElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLMetaElement(DOM::Document&, QualifiedName); virtual ~HTMLMetaElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.cpp index 07bfeee98f..51958d7e59 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLMeterElement::HTMLMeterElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLMeterElement::HTMLMeterElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.h b/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.h index f6d983a6b0..1b306b31fd 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.h @@ -34,7 +34,7 @@ class HTMLMeterElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLMeterElementWrapper; - HTMLMeterElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLMeterElement(DOM::Document&, QualifiedName); virtual ~HTMLMeterElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLModElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLModElement.cpp index 5fcd7603b0..ee3f23c25c 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLModElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLModElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLModElement::HTMLModElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLModElement::HTMLModElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLModElement.h b/Userland/Libraries/LibWeb/HTML/HTMLModElement.h index f75c8bef9e..f63c72f691 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLModElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLModElement.h @@ -34,7 +34,7 @@ class HTMLModElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLModElementWrapper; - HTMLModElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLModElement(DOM::Document&, QualifiedName); virtual ~HTMLModElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOListElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLOListElement.cpp index 48ac66fd8d..d040138909 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOListElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLOListElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLOListElement::HTMLOListElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLOListElement::HTMLOListElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOListElement.h b/Userland/Libraries/LibWeb/HTML/HTMLOListElement.h index 8f5a849c75..575b6948f2 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOListElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLOListElement.h @@ -34,7 +34,7 @@ class HTMLOListElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLOListElementWrapper; - HTMLOListElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLOListElement(DOM::Document&, QualifiedName); virtual ~HTMLOListElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.cpp index a7514179d4..c957d8c19a 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.cpp @@ -35,8 +35,8 @@ namespace Web::HTML { -HTMLObjectElement::HTMLObjectElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLObjectElement::HTMLObjectElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { m_image_loader.on_load = [this] { m_should_show_fallback_content = false; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h index f07e122ff7..adf4b55d99 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.h @@ -37,7 +37,7 @@ class HTMLObjectElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLObjectElementWrapper; - HTMLObjectElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLObjectElement(DOM::Document&, QualifiedName); virtual ~HTMLObjectElement() override; virtual void parse_attribute(const FlyString& name, const String& value) override; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.cpp index 50c7d23b6f..b4a440a9be 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLOptGroupElement::HTMLOptGroupElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLOptGroupElement::HTMLOptGroupElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.h b/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.h index 77a90aebcb..30814ab288 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.h @@ -34,7 +34,7 @@ class HTMLOptGroupElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLOptGroupElementWrapper; - HTMLOptGroupElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLOptGroupElement(DOM::Document&, QualifiedName); virtual ~HTMLOptGroupElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.cpp index c22fbb3668..f889293604 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLOptionElement::HTMLOptionElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLOptionElement::HTMLOptionElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.h b/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.h index e2bead49f6..38db64770e 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.h @@ -34,7 +34,7 @@ class HTMLOptionElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLOptionElementWrapper; - HTMLOptionElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLOptionElement(DOM::Document&, QualifiedName); virtual ~HTMLOptionElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.cpp index 80f9d82dd5..69cbc7d035 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLOutputElement::HTMLOutputElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLOutputElement::HTMLOutputElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.h b/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.h index 110225535f..7e0c341e7e 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.h @@ -34,7 +34,7 @@ class HTMLOutputElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLOutputElementWrapper; - HTMLOutputElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLOutputElement(DOM::Document&, QualifiedName); virtual ~HTMLOutputElement() override; const String& type() const diff --git a/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.cpp index 9e0fab9859..19726f3755 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLParagraphElement::HTMLParagraphElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLParagraphElement::HTMLParagraphElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.h b/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.h index 660855edb9..5cd4219596 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.h @@ -34,7 +34,7 @@ class HTMLParagraphElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLParagraphElementWrapper; - HTMLParagraphElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLParagraphElement(DOM::Document&, QualifiedName); virtual ~HTMLParagraphElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLParamElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLParamElement.cpp index 838ae13ef8..88faef82da 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLParamElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLParamElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLParamElement::HTMLParamElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLParamElement::HTMLParamElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLParamElement.h b/Userland/Libraries/LibWeb/HTML/HTMLParamElement.h index 642551cdd0..9d2e4f8f50 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLParamElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLParamElement.h @@ -34,7 +34,7 @@ class HTMLParamElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLParamElementWrapper; - HTMLParamElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLParamElement(DOM::Document&, QualifiedName); virtual ~HTMLParamElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.cpp index 5aec65b51a..ce45eed32d 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLPictureElement::HTMLPictureElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLPictureElement::HTMLPictureElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.h b/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.h index 8d12df2b16..993134f929 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.h @@ -34,7 +34,7 @@ class HTMLPictureElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLPictureElementWrapper; - HTMLPictureElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLPictureElement(DOM::Document&, QualifiedName); virtual ~HTMLPictureElement() override; }; 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)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLPreElement.h b/Userland/Libraries/LibWeb/HTML/HTMLPreElement.h index b87197f600..42cf370acd 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLPreElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLPreElement.h @@ -34,7 +34,7 @@ class HTMLPreElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLPreElementWrapper; - HTMLPreElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLPreElement(DOM::Document&, QualifiedName); virtual ~HTMLPreElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.cpp index cfad730312..4b915e4415 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLProgressElement::HTMLProgressElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLProgressElement::HTMLProgressElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.h b/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.h index cb18e317f2..c5d02df8cc 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.h @@ -34,7 +34,7 @@ class HTMLProgressElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLProgressElementWrapper; - HTMLProgressElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLProgressElement(DOM::Document&, QualifiedName); virtual ~HTMLProgressElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.cpp index 07bf149640..169dd11286 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLQuoteElement::HTMLQuoteElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLQuoteElement::HTMLQuoteElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.h b/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.h index 98e254f213..234bc43863 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.h @@ -34,7 +34,7 @@ class HTMLQuoteElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLQuoteElementWrapper; - HTMLQuoteElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLQuoteElement(DOM::Document&, QualifiedName); virtual ~HTMLQuoteElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp index ec436062af..763d7d86a5 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp @@ -38,8 +38,8 @@ namespace Web::HTML { -HTMLScriptElement::HTMLScriptElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLScriptElement::HTMLScriptElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.h b/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.h index b8f2ea3ec8..194fd4143a 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.h @@ -35,7 +35,7 @@ class HTMLScriptElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLScriptElementWrapper; - HTMLScriptElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLScriptElement(DOM::Document&, QualifiedName); virtual ~HTMLScriptElement() override; bool is_non_blocking() const { return m_non_blocking; } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp index 9c4b486b05..5309fe81b7 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLSelectElement::HTMLSelectElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLSelectElement::HTMLSelectElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.h b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.h index 49d66970b9..12253be324 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.h @@ -34,7 +34,7 @@ class HTMLSelectElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLSelectElementWrapper; - HTMLSelectElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLSelectElement(DOM::Document&, QualifiedName); virtual ~HTMLSelectElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.cpp index cb32ab7772..80f03b85a7 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLSlotElement::HTMLSlotElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLSlotElement::HTMLSlotElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.h b/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.h index 96c42ff6f2..85be537d2e 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.h @@ -34,7 +34,7 @@ class HTMLSlotElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLSlotElementWrapper; - HTMLSlotElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLSlotElement(DOM::Document&, QualifiedName); virtual ~HTMLSlotElement() override; }; 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)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.h b/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.h index f126968ddd..0102b74dc5 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.h @@ -34,7 +34,7 @@ class HTMLSourceElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLSourceElementWrapper; - HTMLSourceElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLSourceElement(DOM::Document&, QualifiedName); virtual ~HTMLSourceElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.cpp index 568d24f891..9ca1f15436 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLSpanElement::HTMLSpanElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLSpanElement::HTMLSpanElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.h b/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.h index 1906eb2a56..e0dd9c2563 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.h @@ -34,7 +34,7 @@ class HTMLSpanElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLSpanElementWrapper; - HTMLSpanElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLSpanElement(DOM::Document&, QualifiedName); virtual ~HTMLSpanElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.cpp index 44fa6daea0..dbe14f487d 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.cpp @@ -32,8 +32,8 @@ namespace Web::HTML { -HTMLStyleElement::HTMLStyleElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLStyleElement::HTMLStyleElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h b/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h index 9e3b615c0c..7349c66ed0 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h @@ -34,7 +34,7 @@ class HTMLStyleElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLStyleElementWrapper; - HTMLStyleElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLStyleElement(DOM::Document&, QualifiedName); virtual ~HTMLStyleElement() override; virtual void children_changed() override; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.cpp index a9c3e62a98..7834331d38 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLTableCaptionElement::HTMLTableCaptionElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTableCaptionElement::HTMLTableCaptionElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.h index 691b49ab3c..48cb063fc2 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.h @@ -34,7 +34,7 @@ class HTMLTableCaptionElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTableCaptionElementWrapper; - HTMLTableCaptionElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTableCaptionElement(DOM::Document&, QualifiedName); virtual ~HTMLTableCaptionElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.cpp index 5dd60f2cbb..7c52d78816 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.cpp @@ -29,8 +29,8 @@ namespace Web::HTML { -HTMLTableCellElement::HTMLTableCellElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTableCellElement::HTMLTableCellElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.h index 7a2b9e4f09..73d8b93fc9 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.h @@ -34,7 +34,7 @@ class HTMLTableCellElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTableCellElementWrapper; - HTMLTableCellElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTableCellElement(DOM::Document&, QualifiedName); virtual ~HTMLTableCellElement() override; private: diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.cpp index 17a3e494c8..8059eed8ee 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLTableColElement::HTMLTableColElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTableColElement::HTMLTableColElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.h index c6b8e706ff..862e4f0f12 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.h @@ -34,7 +34,7 @@ class HTMLTableColElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTableColElementWrapper; - HTMLTableColElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTableColElement(DOM::Document&, QualifiedName); virtual ~HTMLTableColElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTableElement.cpp index d31641af42..53ced4b521 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableElement.cpp @@ -29,8 +29,8 @@ namespace Web::HTML { -HTMLTableElement::HTMLTableElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTableElement::HTMLTableElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTableElement.h index 39d65833c6..e4cb4fdbca 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableElement.h @@ -34,7 +34,7 @@ class HTMLTableElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTableElementWrapper; - HTMLTableElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTableElement(DOM::Document&, QualifiedName); virtual ~HTMLTableElement() override; private: diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp index 28f0d6d910..8795f2a541 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLTableRowElement::HTMLTableRowElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTableRowElement::HTMLTableRowElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.h index dc64d13322..68d634e652 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.h @@ -34,7 +34,7 @@ class HTMLTableRowElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTableRowElementWrapper; - HTMLTableRowElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTableRowElement(DOM::Document&, QualifiedName); virtual ~HTMLTableRowElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.cpp index 2ce4394b94..9912aa73a9 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLTableSectionElement::HTMLTableSectionElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTableSectionElement::HTMLTableSectionElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.h index dc58ea8a1b..06b30ddcc1 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.h @@ -34,7 +34,7 @@ class HTMLTableSectionElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTableSectionElementWrapper; - HTMLTableSectionElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTableSectionElement(DOM::Document&, QualifiedName); virtual ~HTMLTableSectionElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.cpp index 8a0209337b..d968c1123c 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.cpp @@ -29,8 +29,8 @@ namespace Web::HTML { -HTMLTemplateElement::HTMLTemplateElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTemplateElement::HTMLTemplateElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { m_content = adopt(*new DOM::DocumentFragment(appropriate_template_contents_owner_document(document))); m_content->set_host(*this); diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.h index 8e26320684..d17d5f8bc0 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.h @@ -35,7 +35,7 @@ class HTMLTemplateElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTemplateElementWrapper; - HTMLTemplateElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTemplateElement(DOM::Document&, QualifiedName); virtual ~HTMLTemplateElement() override; NonnullRefPtr<DOM::DocumentFragment> content() { return *m_content; } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.cpp index 29433042c4..5db35cc65f 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLTextAreaElement::HTMLTextAreaElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTextAreaElement::HTMLTextAreaElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.h index e09b95541a..e4fe59ec5f 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.h @@ -34,7 +34,7 @@ class HTMLTextAreaElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTextAreaElementWrapper; - HTMLTextAreaElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTextAreaElement(DOM::Document&, QualifiedName); virtual ~HTMLTextAreaElement() override; const String& type() const diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.cpp index 613f8aadbe..a1bbb96d8d 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLTimeElement::HTMLTimeElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTimeElement::HTMLTimeElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.h index aacef209a9..69678f989f 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.h @@ -34,7 +34,7 @@ class HTMLTimeElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTimeElementWrapper; - HTMLTimeElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTimeElement(DOM::Document&, QualifiedName); virtual ~HTMLTimeElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.cpp index a1404dfe9e..426721c124 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.cpp @@ -30,8 +30,8 @@ namespace Web::HTML { -HTMLTitleElement::HTMLTitleElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTitleElement::HTMLTitleElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.h index 42c28f467f..215f1a647c 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.h @@ -34,7 +34,7 @@ class HTMLTitleElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTitleElementWrapper; - HTMLTitleElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTitleElement(DOM::Document&, QualifiedName); virtual ~HTMLTitleElement() override; private: diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.cpp index 2f0cee7f28..314901b4c1 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLTrackElement::HTMLTrackElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLTrackElement::HTMLTrackElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.h b/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.h index 6a0c78c176..d62f758d25 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.h @@ -34,7 +34,7 @@ class HTMLTrackElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLTrackElementWrapper; - HTMLTrackElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLTrackElement(DOM::Document&, QualifiedName); virtual ~HTMLTrackElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLUListElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLUListElement.cpp index d9cbcb9cd7..009f635950 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLUListElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLUListElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLUListElement::HTMLUListElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLUListElement::HTMLUListElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLUListElement.h b/Userland/Libraries/LibWeb/HTML/HTMLUListElement.h index c4efa7949a..709575941a 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLUListElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLUListElement.h @@ -34,7 +34,7 @@ class HTMLUListElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLUListElementWrapper; - HTMLUListElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLUListElement(DOM::Document&, QualifiedName); virtual ~HTMLUListElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.cpp index 3ef559692d..5e458784b7 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLUnknownElement::HTMLUnknownElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLElement(document, qualified_name) +HTMLUnknownElement::HTMLUnknownElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.h b/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.h index 896df0d064..f69a7e1c40 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.h @@ -34,7 +34,7 @@ class HTMLUnknownElement final : public HTMLElement { public: using WrapperType = Bindings::HTMLUnknownElementWrapper; - HTMLUnknownElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLUnknownElement(DOM::Document&, QualifiedName); virtual ~HTMLUnknownElement() override; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.cpp index cbd97199cf..814f50c391 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.cpp @@ -28,8 +28,8 @@ namespace Web::HTML { -HTMLVideoElement::HTMLVideoElement(DOM::Document& document, const QualifiedName& qualified_name) - : HTMLMediaElement(document, qualified_name) +HTMLVideoElement::HTMLVideoElement(DOM::Document& document, QualifiedName qualified_name) + : HTMLMediaElement(document, move(qualified_name)) { } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.h b/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.h index 9349f0feb6..85da500d36 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.h @@ -34,7 +34,7 @@ class HTMLVideoElement final : public HTMLMediaElement { public: using WrapperType = Bindings::HTMLVideoElementWrapper; - HTMLVideoElement(DOM::Document&, const QualifiedName& qualified_name); + HTMLVideoElement(DOM::Document&, QualifiedName); virtual ~HTMLVideoElement() override; }; diff --git a/Userland/Libraries/LibWeb/SVG/SVGElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGElement.cpp index 828e9b0e99..120b21e81f 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGElement.cpp @@ -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)) { } diff --git a/Userland/Libraries/LibWeb/SVG/SVGElement.h b/Userland/Libraries/LibWeb/SVG/SVGElement.h index 99041728f8..bede1b280c 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGElement.h +++ b/Userland/Libraries/LibWeb/SVG/SVGElement.h @@ -35,7 +35,7 @@ public: using WrapperType = Bindings::SVGElementWrapper; protected: - SVGElement(DOM::Document&, const QualifiedName& qualified_name); + SVGElement(DOM::Document&, QualifiedName); }; } diff --git a/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.cpp index c3e8f386fd..5e00c77ef8 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.cpp @@ -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)) { } diff --git a/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.h b/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.h index 91c9e92288..95a0880a1e 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.h +++ b/Userland/Libraries/LibWeb/SVG/SVGGeometryElement.h @@ -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); }; } diff --git a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp index 2fca526027..7a90ed9994 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp @@ -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)) { } diff --git a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.h b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.h index ec8735a70b..439e1f6d26 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.h +++ b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.h @@ -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; diff --git a/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp index 35657ece06..f812d42dfc 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp @@ -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)) { } diff --git a/Userland/Libraries/LibWeb/SVG/SVGPathElement.h b/Userland/Libraries/LibWeb/SVG/SVGPathElement.h index 738df73a13..9ef1399e52 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGPathElement.h +++ b/Userland/Libraries/LibWeb/SVG/SVGPathElement.h @@ -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; diff --git a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp index ad0eb2e637..092034db10 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp @@ -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) { } diff --git a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h index c84a483d07..68b9ac5446 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h +++ b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.h @@ -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; |