mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-16 04:59:23 +00:00
LibWeb: Use move()
for grid track placement values where possible
This commit is contained in:
parent
90432f35d5
commit
d42235a642
Notes:
github-actions[bot]
2025-09-25 09:36:20 +00:00
Author: https://github.com/tcl3
Commit: d42235a642
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6293
Reviewed-by: https://github.com/AtkinsSJ ✅
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue