From 594eb0067a3fed130dd3033496bcf911f8092c83 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 9 Dec 2013 18:18:52 -0800 Subject: [PATCH] layout: Remove the ability to put boxes in display list items. --- src/components/main/layout/display_list_builder.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/main/layout/display_list_builder.rs b/src/components/main/layout/display_list_builder.rs index 1a5800c08fb..b75c508a733 100644 --- a/src/components/main/layout/display_list_builder.rs +++ b/src/components/main/layout/display_list_builder.rs @@ -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.