From fae05faf7f8bf751c09a64c74ab024276afac7ff Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Sun, 20 Aug 2023 13:37:12 +0100 Subject: [PATCH] LibWeb: Rename StyleValue::Type::Url -> URL This matches the URLStyleValue name. (This will be important shortly.) --- Userland/Libraries/LibWeb/CSS/StyleValue.h | 4 ++-- Userland/Libraries/LibWeb/CSS/StyleValues/URLStyleValue.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h index 957e37aeb2..b50b6bbb3e 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValue.h @@ -142,7 +142,7 @@ public: Transformation, Unresolved, Unset, - Url, + URL, ValueList }; @@ -204,7 +204,7 @@ public: bool is_transformation() const { return type() == Type::Transformation; } bool is_unresolved() const { return type() == Type::Unresolved; } bool is_unset() const { return type() == Type::Unset; } - bool is_url() const { return type() == Type::Url; } + bool is_url() const { return type() == Type::URL; } bool is_value_list() const { return type() == Type::ValueList; } bool is_builtin() const { return is_inherit() || is_initial() || is_unset(); } diff --git a/Userland/Libraries/LibWeb/CSS/StyleValues/URLStyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValues/URLStyleValue.h index 813ee4415d..d6f3bb0260 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValues/URLStyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValues/URLStyleValue.h @@ -32,7 +32,7 @@ public: private: URLStyleValue(AK::URL const& url) - : StyleValueWithDefaultOperators(Type::Url) + : StyleValueWithDefaultOperators(Type::URL) , m_url(url) { }