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
commit 0a556ae26d
Notes: sideshowbarker 2024-07-17 02:29:45 +09:00
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;