mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Use move semantics for QualifiedName more often
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 22:33:14 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/330c3fcb598
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user