layout: Stop going to the DOM for iframe sizes

This commit is contained in:
Patrick Walton 2013-12-13 15:06:51 -08:00
parent aa1ebbbdb0
commit 971f77d2c6
9 changed files with 114 additions and 78 deletions

View file

@ -723,11 +723,11 @@ impl ScriptTask {
url.clone(),
self.resource_task.clone(),
self.image_cache_task.clone(),
page.next_subpage_id.clone(),
self.constellation_chan.clone());
page.next_subpage_id.clone());
let HtmlParserResult {discovery_port} = html_parsing_result;
let HtmlParserResult {
discovery_port
} = html_parsing_result;
// Create the root frame.
page.frame = Some(Frame {