diff --git a/src/servo/layout/base.rs b/src/servo/layout/base.rs index 145f435a22c..d98632f8a3d 100644 --- a/src/servo/layout/base.rs +++ b/src/servo/layout/base.rs @@ -147,20 +147,14 @@ impl FlowTree : tree::WriteMethods<@FlowContext> { */ struct BoxLayoutData { - mut min_width: au, - mut pref_width: au, mut position: Rect, - mut font_size: Length, mut background_image: Option, } fn BoxLayoutData() -> BoxLayoutData { BoxLayoutData { - min_width: au(0), - pref_width: au(0), position : au::zero_rect(), - font_size : Px(0.0), background_image : None, }