mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Avoid unnecessary copies of background size values
This commit is contained in:
parent
e7654c2e08
commit
c4ceec9296
|
|
@ -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…
Reference in New Issue
Block a user