LibWeb: Remove StyleValue::has_rect()

This behaves identically to `is_rect()`
This commit is contained in:
Sam Atkins 2023-05-26 17:04:10 +01:00 committed by Andreas Kling
commit 5f755d721e
Notes: sideshowbarker 2024-07-17 04:49:48 +09:00
3 changed files with 1 additions and 3 deletions

View file

@ -21,7 +21,6 @@ public:
EdgeRect rect() const { return m_rect; }
virtual ErrorOr<String> to_string() const override;
virtual bool has_rect() const override { return true; }
bool properties_equal(RectStyleValue const& other) const { return m_rect == other.m_rect; }