LibWeb: Create CSS::Sizes from CSSPixels

This commit is contained in:
Sam Atkins 2022-11-03 14:43:24 +00:00 committed by Linus Groh
commit 4754204f01
Notes: sideshowbarker 2024-07-17 04:32:07 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ Size Size::make_auto()
return Size { Type::Auto, Length::make_auto() };
}
Size Size::make_px(float px)
Size Size::make_px(CSSPixels px)
{
return make_length(CSS::Length::make_px(px));
}