mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:18:12 +00:00
LibWeb: Remove more DeprecatedString null state remnants
This commit is contained in:
parent
988c6568a9
commit
0937d88869
4 changed files with 7 additions and 7 deletions
|
@ -150,7 +150,7 @@ DeprecatedString Element::deprecated_get_attribute(StringView name) const
|
|||
{
|
||||
auto maybe_attribute = get_attribute(name);
|
||||
if (!maybe_attribute.has_value())
|
||||
return {};
|
||||
return DeprecatedString::empty();
|
||||
|
||||
return maybe_attribute->to_deprecated_string();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue