1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:17:35 +00:00

LibWeb/URL: Make URL::search_params() return a NonnullGCPtr

This commit is contained in:
Linus Groh 2023-04-12 23:20:27 +02:00 committed by Andreas Kling
parent 28cf8ba92e
commit 0a556ae26d
2 changed files with 2 additions and 2 deletions

View file

@ -400,7 +400,7 @@ WebIDL::ExceptionOr<void> URL::set_search(String const& search)
}
// https://url.spec.whatwg.org/#dom-url-searchparams
URLSearchParams const* URL::search_params() const
JS::NonnullGCPtr<URLSearchParams const> URL::search_params() const
{
// The searchParams getter steps are to return thiss query object.
return m_query;