mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibWeb: Return const&
from GridSize::length_percentage()
This commit is contained in:
parent
97639d1d74
commit
237356c5ca
Notes:
github-actions[bot]
2025-06-13 17:58:09 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 237356c5ca
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5080
Reviewed-by: https://github.com/trflynn89
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public:
|
|||
bool is_max_content() const { return m_type == Type::MaxContent; }
|
||||
bool is_min_content() const { return m_type == Type::MinContent; }
|
||||
|
||||
LengthPercentage length_percentage() const { return m_value.get<LengthPercentage>(); }
|
||||
LengthPercentage const& length_percentage() const { return m_value.get<LengthPercentage>(); }
|
||||
double flex_factor() const { return m_value.get<Flex>().to_fr(); }
|
||||
|
||||
// https://www.w3.org/TR/css-grid-2/#layout-algorithm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue