LibWeb: Avoid copy when creating EasingStyleValue

This commit is contained in:
Matthew Olsson 2024-07-03 15:01:07 +00:00 committed by Andreas Kling
parent 70d99db992
commit 815a87100e
Notes: github-actions[bot] 2024-09-22 04:43:03 +00:00

View file

@ -91,7 +91,7 @@ public:
bool properties_equal(EasingStyleValue const& other) const { return m_function == other.m_function; }
private:
EasingStyleValue(Function function)
EasingStyleValue(Function const& function)
: StyleValueWithDefaultOperators(Type::Easing)
, m_function(function)
{