mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00:00
AK: Remove unused URL::scheme_requires_port
THis function does not seem to be used anywhere, and I cannot find any spec equivalent for this function.
This commit is contained in:
parent
c8da880806
commit
7b3902e3d5
Notes:
sideshowbarker
2024-07-17 07:43:44 +09:00
Author: https://github.com/shannonbooth
Commit: 7b3902e3d5
Pull-request: https://github.com/SerenityOS/serenity/pull/20187
2 changed files with 0 additions and 6 deletions
|
@ -190,11 +190,6 @@ bool URL::compute_validity() const
|
|||
return true;
|
||||
}
|
||||
|
||||
bool URL::scheme_requires_port(StringView scheme)
|
||||
{
|
||||
return (default_port_for_scheme(scheme) != 0);
|
||||
}
|
||||
|
||||
u16 URL::default_port_for_scheme(StringView scheme)
|
||||
{
|
||||
if (scheme == "http")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue