layout: Remove the ability to put boxes in display list items.

This commit is contained in:
Patrick Walton 2013-12-09 18:18:52 -08:00
parent 64222f5772
commit 594eb0067a

View file

@ -35,12 +35,6 @@ impl ExtraDisplayListData for Nothing {
}
}
impl ExtraDisplayListData for @Box {
fn new(box: &@Box) -> @Box {
*box
}
}
/// A builder object that manages display list builder should mainly hold information about the
/// initial request and desired result--for example, whether the `DisplayList` is to be used for
/// painting or hit testing. This can affect which boxes are created.