mirror of
https://github.com/servo/servo.git
synced 2025-06-11 01:50:10 +00:00
Pass the load data to parse_html directly, rather than in an Option.
This commit is contained in:
parent
69e13f3267
commit
5d0934d8ec
2 changed files with 5 additions and 7 deletions
|
@ -748,7 +748,7 @@ impl ScriptTask {
|
|||
InputString(strval.unwrap_or("".to_string()))
|
||||
};
|
||||
|
||||
parse_html(&*page, *document, parser_input, self.resource_task.clone(), Some(load_data));
|
||||
parse_html(&*page, *document, parser_input, self.resource_task.clone(), load_data);
|
||||
url = page.get_url().clone();
|
||||
|
||||
document.set_ready_state(DocumentReadyStateValues::Interactive);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue