LibWeb: Convert create_new_child_navigable to HeapFunction

This commit is contained in:
Shannon Booth 2024-08-18 15:33:00 +12:00 committed by Andreas Kling
commit 3a7ccf8c25
Notes: github-actions[bot] 2024-08-18 09:16:20 +00:00
3 changed files with 7 additions and 7 deletions

View file

@ -64,7 +64,7 @@ protected:
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#navigate-an-iframe-or-frame
void navigate_an_iframe_or_frame(URL::URL url, ReferrerPolicy::ReferrerPolicy referrer_policy, Optional<String> srcdoc_string = {});
WebIDL::ExceptionOr<void> create_new_child_navigable(JS::SafeFunction<void()> afterSessionHistoryUpdate = {});
WebIDL::ExceptionOr<void> create_new_child_navigable(JS::Handle<JS::HeapFunction<void()>> after_session_history_update = {});
// https://html.spec.whatwg.org/multipage/document-sequences.html#content-navigable
JS::GCPtr<Navigable> m_content_navigable { nullptr };