mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove LayoutChan from LayoutDataWrapper
This commit is contained in:
parent
d09881b051
commit
1a014beb08
5 changed files with 17 additions and 27 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue