mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
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:
parent
31b72c4799
commit
5e645929a7
Notes:
github-actions[bot]
2025-10-28 00:35:56 +00:00
Author: https://github.com/Zaggy1024
Commit: 5e645929a7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6410
Reviewed-by: https://github.com/R-Goc
Reviewed-by: https://github.com/gmta ✅
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue