Introduce a ThreadSafeLayoutNodeHelpers trait for methods to stay in layout.

This commit is contained in:
Ms2ger 2016-06-15 08:54:12 +01:00
parent dac8878467
commit afc7118a67
4 changed files with 98 additions and 89 deletions

View file

@ -18,7 +18,8 @@ use style::traversal::{DomTraversalContext, STYLE_BLOOM};
use style::traversal::{put_thread_local_bloom_filter, recalc_style_at};
use util::opts;
use util::tid::tid;
use wrapper::{LayoutNode, LayoutNodeLayoutData, ServoLayoutNode, ThreadSafeLayoutNode};
use wrapper::{LayoutNode, LayoutNodeLayoutData, ServoLayoutNode};
use wrapper::{ThreadSafeLayoutNode, ThreadSafeLayoutNodeHelpers};
pub struct RecalcStyleAndConstructFlows<'lc> {
context: LayoutContext<'lc>,