aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index 3c36b70a0ca..67a05c94386 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -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();