mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02: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:
committed by
Andreas Kling
parent
3d141ac6a1
commit
aa8bf6372f
Notes:
github-actions[bot]
2025-09-26 20:33:19 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/aa8bf6372fd Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6311
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user