LibWeb: Prefer GCPtr<T> over Optional<NonnullGCPtr<T>>

This commit is contained in:
Shannon Booth
2024-04-07 15:40:20 +02:00
committed by Andreas Kling
parent 80658743d3
commit 70e2f51674
Notes: sideshowbarker 2024-07-17 16:23:55 +09:00
5 changed files with 22 additions and 22 deletions

View File

@@ -109,7 +109,7 @@ public:
// Abstract Operations
bool has_entries_and_events_disabled() const;
i64 get_the_navigation_api_entry_index(SessionHistoryEntry const&) const;
void abort_the_ongoing_navigation(Optional<JS::NonnullGCPtr<WebIDL::DOMException>> error = {});
void abort_the_ongoing_navigation(JS::GCPtr<WebIDL::DOMException> error = {});
bool fire_a_traverse_navigate_event(JS::NonnullGCPtr<SessionHistoryEntry> destination_she, UserNavigationInvolvement = UserNavigationInvolvement::None);
bool fire_a_push_replace_reload_navigate_event(
Bindings::NavigationType,