diff options
author | Linus Groh <mail@linusgroh.de> | 2023-03-04 22:41:57 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-03-04 22:42:42 +0000 |
commit | f65cbeef5c9cad950f52700d77642e3ddbdc241f (patch) | |
tree | 3c7c08ba27e1be9000f6239b1d7a66bff948f4e5 /Userland/Libraries/LibWeb/MimeSniff | |
parent | 85507b34d72752efb8ecc68c4fe920bf67b1895a (diff) | |
download | serenity-f65cbeef5c9cad950f52700d77642e3ddbdc241f.zip |
LibWeb/Infra: Rename to_ascii_{{lower,upper}_case => {lower,upper}case}
Diffstat (limited to 'Userland/Libraries/LibWeb/MimeSniff')
-rw-r--r-- | Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp b/Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp index c206c1cbd3..ff2dd711f5 100644 --- a/Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp +++ b/Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp @@ -105,7 +105,7 @@ ErrorOr<Optional<MimeType>> MimeType::parse(StringView string) return OptionalNone {}; // 10. Let mimeType be a new MIME type record whose type is type, in ASCII lowercase, and subtype is subtype, in ASCII lowercase. - auto mime_type = TRY(MimeType::create(TRY(Infra::to_ascii_lower_case(type)), TRY(Infra::to_ascii_lower_case(subtype)))); + auto mime_type = TRY(MimeType::create(TRY(Infra::to_ascii_lowercase(type)), TRY(Infra::to_ascii_lowercase(subtype)))); // 11. While position is not past the end of input: while (!lexer.is_eof()) { @@ -121,7 +121,7 @@ ErrorOr<Optional<MimeType>> MimeType::parse(StringView string) }); // 4. Set parameterName to parameterName, in ASCII lowercase. - auto parameter_name = TRY(Infra::to_ascii_lower_case(parameter_name_view)); + auto parameter_name = TRY(Infra::to_ascii_lowercase(parameter_name_view)); // 5. If position is not past the end of input, then: if (!lexer.is_eof()) { |