LibWeb: Move StyleValue::absolutized() back where it belongs

I accidentally moved this when moving the CalculatedStyleValue methods,
and didn't notice because it was hidden in the middle. Oops!
This commit is contained in:
Sam Atkins 2023-03-31 14:25:38 +01:00 committed by Andreas Kling
parent cc301f9861
commit bab968867d
Notes: sideshowbarker 2024-07-17 18:46:57 +09:00
2 changed files with 5 additions and 5 deletions

View file

@ -331,4 +331,9 @@ StyleValueList const& StyleValue::as_value_list() const
return static_cast<StyleValueList const&>(*this);
}
ValueComparingNonnullRefPtr<StyleValue const> StyleValue::absolutized(CSSPixelRect const&, Gfx::FontPixelMetrics const&, CSSPixels, CSSPixels, CSSPixels, CSSPixels) const
{
return *this;
}
}

View file

@ -710,11 +710,6 @@ CalculatedStyleValue::CalculationResult CalculatedStyleValue::CalcNumberSumPartW
return value->resolve(layout_node, percentage_basis);
}
ValueComparingNonnullRefPtr<StyleValue const> StyleValue::absolutized(CSSPixelRect const&, Gfx::FontPixelMetrics const&, CSSPixels, CSSPixels, CSSPixels, CSSPixels) const
{
return *this;
}
bool CalculatedStyleValue::contains_percentage() const
{
return m_expression->contains_percentage();