mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 11:39:43 +00:00
AK+Tests+LibWeb: Make URL::complete_url()
take a StringView
All it does is pass this to `URLParser::parse()` which takes a StringView, so we might as well take one here too.
This commit is contained in:
parent
8af65108e4
commit
abc01cc9fe
Notes:
sideshowbarker
2024-07-17 20:33:50 +09:00
Author: https://github.com/AtkinsSJ
Commit: abc01cc9fe
Pull-request: https://github.com/SerenityOS/serenity/pull/17478
Reviewed-by: https://github.com/trflynn89 ✅
5 changed files with 7 additions and 7 deletions
|
@ -43,7 +43,7 @@ public:
|
|||
|
||||
bool in_quirks_mode() const;
|
||||
DOM::Document const* document() const { return m_document; }
|
||||
AK::URL complete_url(DeprecatedString const&) const;
|
||||
AK::URL complete_url(StringView) const;
|
||||
|
||||
PropertyID current_property_id() const { return m_current_property_id; }
|
||||
void set_current_property_id(PropertyID property_id) { m_current_property_id = property_id; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue