Convert as many of Page's RefCell fields to Cell as possible (fixes #1990).

This commit is contained in:
Guro Bokum 2014-03-31 22:50:05 +07:00 committed by Ms2ger
parent eb67f69b2d
commit 04c807dd53
3 changed files with 32 additions and 30 deletions

View file

@ -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.deref().borrow();
let next_subpage_id: SubpageId = page.next_subpage_id.deref().get();
// Spawn a CSS parser to receive links to CSS style sheets.
let (discovery_chan, discovery_port) = channel();