mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:37:44 +00:00
LibWeb: Use struct to pass Navigable::navigate() params
Using structs makes the navigate() calls looks cleaner. No change in behavior is intended.
This commit is contained in:
parent
3e86f88d6a
commit
44f7d7406c
12 changed files with 56 additions and 34 deletions
|
@ -3492,7 +3492,7 @@ void Document::shared_declarative_refresh_steps(StringView input, JS::GCPtr<HTML
|
|||
return;
|
||||
|
||||
VERIFY(navigable());
|
||||
MUST(navigable()->navigate(url_record, *this));
|
||||
MUST(navigable()->navigate({ .url = url_record, .source_document = *this }));
|
||||
}).release_value_but_fixme_should_propagate_errors();
|
||||
|
||||
// For the purposes of the previous paragraph, a refresh is said to have come due as soon as the later of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue