1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

LibWeb: Remove unused MediaFeatureValue::equals() and friends

At some point during development I moved the comparison logic outside of
MediaFeatureValue but didn't notice. Oops!
This commit is contained in:
Sam Atkins 2022-02-15 15:23:53 +00:00 committed by Andreas Kling
parent 61115dc638
commit 148efd7de7
2 changed files with 0 additions and 27 deletions

View file

@ -60,10 +60,6 @@ public:
return m_value.get<double>();
}
bool operator==(MediaFeatureValue const& other) const { return equals(other); }
bool operator!=(MediaFeatureValue const& other) const { return !(*this == other); }
bool equals(MediaFeatureValue const& other) const;
private:
// TODO: Support <ratio> once we have that.
Variant<String, Length, double> m_value;