layout: Stop exposing raw Element types to layout as well.

This should make layout memory-safe as is, though we will need to do
more stuff for incremental reflow and parallelism.
This commit is contained in:
Patrick Walton 2013-12-17 14:34:49 -08:00
parent 9e2b63ddd3
commit 8f886e599e
7 changed files with 59 additions and 39 deletions

View file

@ -52,7 +52,6 @@ use std::ptr;
use std::str::eq_slice;
use std::task::{spawn_sched, SingleThreaded};
use std::util::replace;
use style::{TElement, TNode};
/// Messages used to control the script task.
pub enum ScriptMsg {