mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Remove next_subpage_id argument from parse_html.(fixes #1801)
This commit is contained in:
parent
a30041e960
commit
b13a7c73c5
2 changed files with 3 additions and 4 deletions
|
@ -248,10 +248,10 @@ pub fn build_element_from_tag(tag: DOMString, document: &JS<Document>) -> JS<Ele
|
|||
pub fn parse_html(page: &Page,
|
||||
document: &mut JS<Document>,
|
||||
url: Url,
|
||||
resource_task: ResourceTask,
|
||||
next_subpage_id: SubpageId)
|
||||
resource_task: ResourceTask)
|
||||
-> HtmlParserResult {
|
||||
debug!("Hubbub: parsing {:?}", url);
|
||||
let next_subpage_id: SubpageId = page.next_subpage_id.get();
|
||||
// Spawn a CSS parser to receive links to CSS style sheets.
|
||||
let resource_task2 = resource_task.clone();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue