Remove LayoutChan from LayoutDataWrapper

This commit is contained in:
Michael Wu 2015-07-04 02:18:16 -04:00
parent d09881b051
commit 1a014beb08
5 changed files with 17 additions and 27 deletions

View file

@ -132,7 +132,7 @@ impl<'a> PreorderDomTraversal for RecalcStyleForNode<'a> {
//
// FIXME(pcwalton): Stop allocating here. Ideally this should just be done by the HTML
// parser.
node.initialize_layout_data(self.layout_context.shared.layout_chan.clone());
node.initialize_layout_data();
// Get the parent node.
let parent_opt = node.layout_parent_node(self.layout_context.shared);