mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +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:
parent
642802d339
commit
8ad05fff4a
4 changed files with 4 additions and 4 deletions
|
@ -98,7 +98,7 @@ public:
|
|||
JS::GCPtr<Selection::Selection> get_selection() const;
|
||||
|
||||
DeprecatedString cookie(Cookie::Source = Cookie::Source::NonHttp);
|
||||
void set_cookie(DeprecatedString const&, Cookie::Source = Cookie::Source::NonHttp);
|
||||
void set_cookie(StringView, Cookie::Source = Cookie::Source::NonHttp);
|
||||
|
||||
DeprecatedString referrer() const;
|
||||
void set_referrer(DeprecatedString);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue