mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb/URL: Make URL::search_params() return a NonnullGCPtr
This commit is contained in:
parent
28cf8ba92e
commit
0a556ae26d
Notes:
sideshowbarker
2024-07-17 02:29:45 +09:00
Author: https://github.com/linusg
Commit: 0a556ae26d
Pull-request: https://github.com/SerenityOS/serenity/pull/18337
Reviewed-by: https://github.com/trflynn89
2 changed files with 2 additions and 2 deletions
|
@ -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 this’s query object.
|
||||
return m_query;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue