mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
LibWeb: Make load_document()'s NavigationParams non-optional
There's no mention in the spec of this being optional, all the places that call it always pass a NavigationParams directly, and we're VERIFYing that it's got a value too!
This commit is contained in:
parent
f900957d26
commit
8dc8d57418
2 changed files with 11 additions and 13 deletions
|
@ -13,7 +13,7 @@ namespace Web {
|
|||
|
||||
bool build_xml_document(DOM::Document& document, ByteBuffer const& data, Optional<String> content_encoding);
|
||||
bool parse_document(DOM::Document& document, ByteBuffer const& data, Optional<String> content_encoding);
|
||||
JS::GCPtr<DOM::Document> load_document(Optional<HTML::NavigationParams> navigation_params);
|
||||
JS::GCPtr<DOM::Document> load_document(HTML::NavigationParams navigation_params);
|
||||
JS::GCPtr<DOM::Document> create_document_for_inline_content(JS::GCPtr<HTML::Navigable> navigable, Optional<String> navigation_id, StringView content_html);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue