LibWeb: Stop moving a GC::Ref in media elements' create_layout_node()s

The type is trivial, so this was causing a warning.
This commit is contained in:
Zaggy1024 2025-09-12 18:19:34 -05:00 committed by Jelle Raaijmakers
parent 31b72c4799
commit 5e645929a7
Notes: github-actions[bot] 2025-10-28 00:35:56 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ void HTMLAudioElement::initialize(JS::Realm& realm)
GC::Ptr<Layout::Node> HTMLAudioElement::create_layout_node(GC::Ref<CSS::ComputedProperties> style)
{
return heap().allocate<Layout::AudioBox>(document(), *this, move(style));
return heap().allocate<Layout::AudioBox>(document(), *this, style);
}
void HTMLAudioElement::adjust_computed_style(CSS::ComputedProperties& style)