1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:57:34 +00:00

LibWeb: Rename StyleValue::Type::Url -> URL

This matches the URLStyleValue name. (This will be important shortly.)
This commit is contained in:
Sam Atkins 2023-08-20 13:37:12 +01:00 committed by Andreas Kling
parent 01cc14714e
commit fae05faf7f
2 changed files with 3 additions and 3 deletions

View file

@ -142,7 +142,7 @@ public:
Transformation, Transformation,
Unresolved, Unresolved,
Unset, Unset,
Url, URL,
ValueList ValueList
}; };
@ -204,7 +204,7 @@ public:
bool is_transformation() const { return type() == Type::Transformation; } bool is_transformation() const { return type() == Type::Transformation; }
bool is_unresolved() const { return type() == Type::Unresolved; } bool is_unresolved() const { return type() == Type::Unresolved; }
bool is_unset() const { return type() == Type::Unset; } 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_value_list() const { return type() == Type::ValueList; }
bool is_builtin() const { return is_inherit() || is_initial() || is_unset(); } bool is_builtin() const { return is_inherit() || is_initial() || is_unset(); }

View file

@ -32,7 +32,7 @@ public:
private: private:
URLStyleValue(AK::URL const& url) URLStyleValue(AK::URL const& url)
: StyleValueWithDefaultOperators(Type::Url) : StyleValueWithDefaultOperators(Type::URL)
, m_url(url) , m_url(url)
{ {
} }