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

@ -73,7 +73,7 @@ use util::opts;
use util::task;
use util::task_state;
use util::workqueue::WorkQueue;
use wrapper::{LayoutDocument, LayoutElement, LayoutNode, ServoLayoutNode};
use wrapper::{LayoutDocument, LayoutElement, LayoutNode, ServoLayoutNode, TThreadSafeLayoutNode};
/// The number of screens of data we're allowed to generate display lists for in each direction.
pub const DISPLAY_PORT_SIZE_FACTOR: i32 = 8;