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

@ -29,7 +29,6 @@ use std::cast;
use std::hashmap::HashMap;
use std::str::eq_slice;
use std::unstable::raw::Box;
use style::{TElement, TNode};
#[deriving(Eq)]
pub enum DocumentTypeId {