mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 23:42:52 +00:00
LibWeb: Replaced remaining usage and delete Size::resolved()
This commit is contained in:
parent
76152845fd
commit
7225087fa2
Notes:
github-actions[bot]
2024-10-06 17:26:10 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 7225087fa2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1651
3 changed files with 2 additions and 10 deletions
|
@ -19,11 +19,6 @@ CSSPixels Size::to_px(Layout::Node const& node, CSSPixels reference_value) const
|
|||
return m_length_percentage.resolved(node, reference_value).to_px(node);
|
||||
}
|
||||
|
||||
CSS::Length Size::resolved(Layout::Node const& node, CSSPixels reference_value) const
|
||||
{
|
||||
return m_length_percentage.resolved(node, reference_value);
|
||||
}
|
||||
|
||||
Size Size::make_auto()
|
||||
{
|
||||
return Size { Type::Auto, Length::make_auto() };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue