diff options
Diffstat (limited to 'src/servo/layout/block.rs')
-rw-r--r-- | src/servo/layout/block.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/servo/layout/block.rs b/src/servo/layout/block.rs index a7518ffe625..9be387e6cd4 100644 --- a/src/servo/layout/block.rs +++ b/src/servo/layout/block.rs @@ -1,9 +1,9 @@ use au = gfx::geometry; use css::values::*; -use dl = gfx::display_list; use geom::point::Point2D; use geom::rect::Rect; use geom::size::Size2D; +use gfx::display_list::{DisplayList, DisplayListBuilder}; use gfx::geometry::Au; use layout::box::{RenderBox}; use layout::context::LayoutContext; @@ -27,8 +27,8 @@ trait BlockLayout { fn bubble_widths_block(@self, ctx: &LayoutContext); fn assign_widths_block(@self, ctx: &LayoutContext); fn assign_height_block(@self, ctx: &LayoutContext); - fn build_display_list_block(@self, a: &dl::DisplayListBuilder, b: &Rect<Au>, - c: &Point2D<Au>, d: &dl::DisplayList); + fn build_display_list_block(@self, a: &DisplayListBuilder, b: &Rect<Au>, + c: &Point2D<Au>, d: &mut DisplayList); } impl FlowContext : BlockLayout { @@ -141,8 +141,8 @@ impl FlowContext : BlockLayout { } } - fn build_display_list_block(@self, builder: &dl::DisplayListBuilder, dirty: &Rect<Au>, - offset: &Point2D<Au>, list: &dl::DisplayList) { + fn build_display_list_block(@self, builder: &DisplayListBuilder, dirty: &Rect<Au>, + offset: &Point2D<Au>, list: &mut DisplayList) { assert self.starts_block_flow(); |