LibWeb: Use move() for grid track placement values where possible

This commit is contained in:
Tim Ledbetter 2025-09-24 22:46:30 +01:00 committed by Sam Atkins
commit d42235a642
Notes: github-actions[bot] 2025-09-25 09:36:20 +00:00
2 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ namespace Web::CSS {
ValueComparingNonnullRefPtr<GridTrackPlacementStyleValue const> GridTrackPlacementStyleValue::create(CSS::GridTrackPlacement grid_track_placement)
{
return adopt_ref(*new (nothrow) GridTrackPlacementStyleValue(grid_track_placement));
return adopt_ref(*new (nothrow) GridTrackPlacementStyleValue(move(grid_track_placement)));
}
String GridTrackPlacementStyleValue::to_string(SerializationMode mode) const