Added a mapping between nodes and stylesheets

Changed stylesheets into_iter to iter
This commit is contained in:
Connor Brewster 2016-03-25 23:33:11 -06:00
parent 3c00aff546
commit f727444a14
2 changed files with 9 additions and 8 deletions

View file

@ -996,7 +996,7 @@ impl Window {
page_clip_rect: self.page_clip_rect.get(),
},
document: self.Document().upcast::<Node>().to_trusted_node_address(),
document_stylesheets: document.stylesheets().clone(),
document_stylesheets: document.stylesheets(),
stylesheets_changed: stylesheets_changed,
window_size: window_size,
script_join_chan: join_chan,