Hoist exported ThreadSafeLayoutFoo functionality into traits.

This commit is contained in:
Bobby Holley 2015-11-20 19:12:04 -08:00
parent 05db7b3652
commit a85ae24c51
8 changed files with 237 additions and 174 deletions

View file

@ -18,7 +18,7 @@ use std::mem;
use util::opts;
use util::tid::tid;
use wrapper::{LayoutNode, ServoLayoutNode, layout_node_to_unsafe_layout_node};
use wrapper::{ThreadSafeLayoutNode, UnsafeLayoutNode};
use wrapper::{ThreadSafeLayoutNode, TThreadSafeLayoutNode, UnsafeLayoutNode};
/// Every time we do another layout, the old bloom filters are invalid. This is
/// detected by ticking a generation number every layout.