diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-05-26 17:04:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-27 16:12:25 +0200 |
commit | 5f755d721e7151dcb7ba458452e5fec0893f36e4 (patch) | |
tree | 22145c2db47c1910481d2b6680707cf6ecb1fecc /Userland/Libraries/LibWeb/CSS/StyleValues | |
parent | f60446bbfea09b4b24d29699ad3bec351866a45b (diff) | |
download | serenity-5f755d721e7151dcb7ba458452e5fec0893f36e4.zip |
LibWeb: Remove StyleValue::has_rect()
This behaves identically to `is_rect()`
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/StyleValues')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/StyleValues/RectStyleValue.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleValues/RectStyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValues/RectStyleValue.h index 488b1820c1..a04073bade 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValues/RectStyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValues/RectStyleValue.h @@ -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; } |