mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
LibURL: Migrate Origin scheme from ByteString to String
This commit is contained in:
parent
7f7f6e490b
commit
2e64e0b836
Notes:
github-actions[bot]
2024-11-30 11:23:49 +00:00
Author: https://github.com/AtkinsSJ
Commit: 2e64e0b836
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2610
Reviewed-by: https://github.com/shannonbooth ✅
6 changed files with 10 additions and 13 deletions
|
@ -104,7 +104,7 @@ ErrorOr<URL::Origin> decode(Decoder& decoder)
|
|||
if (is_opaque)
|
||||
return URL::Origin {};
|
||||
|
||||
auto scheme = TRY(decoder.decode<ByteString>());
|
||||
auto scheme = TRY(decoder.decode<Optional<String>>());
|
||||
auto host = TRY(decoder.decode<URL::Host>());
|
||||
auto port = TRY(decoder.decode<Optional<u16>>());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue