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

@ -67,7 +67,7 @@ void HTMLVideoElement::attribute_changed(FlyString const& name, Optional<String>
GC::Ptr<Layout::Node> HTMLVideoElement::create_layout_node(GC::Ref<CSS::ComputedProperties> style)
{
return heap().allocate<Layout::VideoBox>(document(), *this, move(style));
return heap().allocate<Layout::VideoBox>(document(), *this, style);
}
void HTMLVideoElement::adjust_computed_style(CSS::ComputedProperties& style)