mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb/CSS: Inline EasingStyleValue::CubicBezier::operator==()
For whatever reason, this method in particular ends up failing to link into WebContent with a subsequent change. It's small and simple, so just inline it.
This commit is contained in:
parent
3d141ac6a1
commit
aa8bf6372f
|
|
@ -60,11 +60,6 @@ EasingStyleValue::Steps EasingStyleValue::Steps::step_end()
|
|||
return steps;
|
||||
}
|
||||
|
||||
bool EasingStyleValue::CubicBezier::operator==(Web::CSS::EasingStyleValue::CubicBezier const& other) const
|
||||
{
|
||||
return x1 == other.x1 && y1 == other.y1 && x2 == other.x2 && y2 == other.y2;
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/css-easing/#linear-canonicalization
|
||||
EasingStyleValue::Linear::Linear(Vector<EasingStyleValue::Linear::Stop> stops)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -61,7 +61,10 @@ public:
|
|||
|
||||
mutable Vector<CachedSample> m_cached_x_samples {};
|
||||
|
||||
bool operator==(CubicBezier const&) const;
|
||||
bool operator==(CubicBezier const& other) const
|
||||
{
|
||||
return x1 == other.x1 && y1 == other.y1 && x2 == other.x2 && y2 == other.y2;
|
||||
}
|
||||
|
||||
double evaluate_at(double input_progress, bool before_flag) const;
|
||||
String to_string(SerializationMode) const;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user