mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
Userland: Prefer _string
over _short_string
As `_string` can't fail anymore (since 3434412
), there are no real
benefits to use the short variant in most cases.
This commit is contained in:
parent
a5edc9cdfc
commit
3f35ffb648
198 changed files with 684 additions and 684 deletions
|
@ -1142,7 +1142,7 @@ WebIDL::ExceptionOr<void> BrowsingContext::navigate(
|
|||
} else {
|
||||
// Otherwise let navigation id be the result of generating a random UUID. [UUID]
|
||||
// FIXME: Generate a UUID.
|
||||
navigation_id = "FIXME"_short_string;
|
||||
navigation_id = "FIXME"_string;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ String MimeType::description() const
|
|||
String const& MimeType::suffixes() const
|
||||
{
|
||||
// The MimeType interface's suffixes getter steps are to return "pdf".
|
||||
static String suffixes_string = "pdf"_short_string;
|
||||
static String suffixes_string = "pdf"_string;
|
||||
return suffixes_string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue