1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

LibWeb: Make Document::set_cookie take a StringView

Enabled by also making the same change to ParsedCookie::parse_cookie :^)
This commit is contained in:
Shannon Booth 2023-09-12 22:11:24 +12:00 committed by Andreas Kling
parent 642802d339
commit 8ad05fff4a
4 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ struct ParsedCookie {
bool http_only_attribute_present { false };
};
Optional<ParsedCookie> parse_cookie(DeprecatedString const& cookie_string);
Optional<ParsedCookie> parse_cookie(StringView cookie_string);
}