LibWeb: Use value-comparing RefPtr in CursorStyleValue

The x and y members were RefPtr which compares by pointer identity.
This caused false positives in style invalidation when the same values
were recomputed as different objects.
This commit is contained in:
Aliaksandr Kalenik
2026-01-06 13:23:29 +01:00
committed by Sam Atkins
parent 9cd583ff6e
commit b6da3aaa3f
Notes: github-actions[bot] 2026-01-06 13:24:00 +00:00

View File

@@ -45,8 +45,8 @@ private:
struct Properties {
ValueComparingNonnullRefPtr<AbstractImageStyleValue const> image;
RefPtr<StyleValue const> x;
RefPtr<StyleValue const> y;
ValueComparingRefPtr<StyleValue const> x;
ValueComparingRefPtr<StyleValue const> y;
bool operator==(Properties const&) const = default;
} m_properties;