diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-04-17 14:54:11 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2014-04-17 17:41:09 -0400 |
commit | 742f73ded59eb9e9f4208642e053ddbfc48bce73 (patch) | |
tree | 0bdc322085ecc7113d45bd5e487c01ad534ea16c /src/components/script/html/hubbub_html_parser.rs | |
parent | 7441dae1aff4966e40ef3cf4129f307d23e2eeba (diff) | |
download | servo-742f73ded59eb9e9f4208642e053ddbfc48bce73.tar.gz servo-742f73ded59eb9e9f4208642e053ddbfc48bce73.zip |
Add transparent Traceable and Untraceable types to aid proper rooting practices, and replace ad-hoc Untraceable structs with empty Encodable implementations.
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r-- | src/components/script/html/hubbub_html_parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs index c7c4e79b165..b9dd26311ff 100644 --- a/src/components/script/html/hubbub_html_parser.rs +++ b/src/components/script/html/hubbub_html_parser.rs @@ -252,7 +252,7 @@ pub fn parse_html(page: &Page, resource_task: ResourceTask) -> HtmlParserResult { debug!("Hubbub: parsing {:?}", url); - let next_subpage_id: SubpageId = *page.next_subpage_id.borrow(); + let next_subpage_id: SubpageId = *page.next_subpage_id.deref().borrow(); // Spawn a CSS parser to receive links to CSS style sheets. let resource_task2 = resource_task.clone(); |