diff options
Diffstat (limited to 'src/components/main/layout/display_list_builder.rs')
-rw-r--r-- | src/components/main/layout/display_list_builder.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/main/layout/display_list_builder.rs b/src/components/main/layout/display_list_builder.rs index 7dd538d493d..dc20f784667 100644 --- a/src/components/main/layout/display_list_builder.rs +++ b/src/components/main/layout/display_list_builder.rs @@ -4,7 +4,7 @@ //! Constructs display lists from boxes. -use layout::box::Box; +use layout::box_::Box; use layout::context::LayoutContext; use layout::util::OpaqueNode; @@ -12,14 +12,14 @@ use gfx; use style; pub trait ExtraDisplayListData { - fn new(box: &Box) -> Self; + fn new(box_: &Box) -> Self; } pub type Nothing = (); impl ExtraDisplayListData for OpaqueNode { - fn new(box: &Box) -> OpaqueNode { - box.node + fn new(box_: &Box) -> OpaqueNode { + box_.node } } @@ -35,8 +35,8 @@ impl ExtraDisplayListData for Nothing { /// /// Right now, the builder isn't used for much, but it establishes the pattern we'll need once we /// support display-list-based hit testing and so forth. -pub struct DisplayListBuilder<'self> { - ctx: &'self LayoutContext, +pub struct DisplayListBuilder<'a> { + ctx: &'a LayoutContext, } // |