mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +00:00
LibWeb: Rename StyleValue::Type::Url -> URL
This matches the URLStyleValue name. (This will be important shortly.)
This commit is contained in:
parent
01cc14714e
commit
fae05faf7f
Notes:
sideshowbarker
2024-07-17 23:00:03 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/fae05faf7f Pull-request: https://github.com/SerenityOS/serenity/pull/20681
2 changed files with 3 additions and 3 deletions
|
@ -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(); }
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
|
||||
private:
|
||||
URLStyleValue(AK::URL const& url)
|
||||
: StyleValueWithDefaultOperators(Type::Url)
|
||||
: StyleValueWithDefaultOperators(Type::URL)
|
||||
, m_url(url)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue