mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
LibWeb: Avoid unnecessary copies of background size values
This commit is contained in:
parent
e7654c2e08
commit
c4ceec9296
Notes:
github-actions[bot]
2025-08-02 06:52:40 +00:00
Author: https://github.com/tcl3
Commit: c4ceec9296
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5677
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ namespace Web::CSS {
|
|||
|
||||
BackgroundSizeStyleValue::BackgroundSizeStyleValue(LengthPercentage size_x, LengthPercentage size_y)
|
||||
: StyleValueWithDefaultOperators(Type::BackgroundSize)
|
||||
, m_properties { .size_x = size_x, .size_y = size_y }
|
||||
, m_properties { .size_x = move(size_x), .size_y = move(size_y) }
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue