aboutsummaryrefslogtreecommitdiffstats
path: root/src/servo/layout/root.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/servo/layout/root.rs')
-rw-r--r--src/servo/layout/root.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/servo/layout/root.rs b/src/servo/layout/root.rs
index 1c5cd2f3d29..29c2e9e670e 100644
--- a/src/servo/layout/root.rs
+++ b/src/servo/layout/root.rs
@@ -3,7 +3,7 @@ use css::values::*;
use dl = gfx::display_list;
use geom::point::Point2D;
use geom::rect::Rect;
-use gfx::geometry::au;
+use gfx::geometry::Au;
use layout::box::RenderBox;
use layout::context::LayoutContext;
use layout::flow::{FlowContext, FlowTree, InlineBlockFlow, BlockFlow, RootFlow};
@@ -25,8 +25,8 @@ trait RootLayout {
fn bubble_widths_root(@self, ctx: &LayoutContext);
fn assign_widths_root(@self, ctx: &LayoutContext);
fn assign_height_root(@self, ctx: &LayoutContext);
- fn build_display_list_root(@self, a: &dl::DisplayListBuilder, b: &Rect<au>,
- c: &Point2D<au>, d: &dl::DisplayList);
+ fn build_display_list_root(@self, a: &dl::DisplayListBuilder, b: &Rect<Au>,
+ c: &Point2D<Au>, d: &dl::DisplayList);
}
impl FlowContext : RootLayout {
@@ -57,8 +57,8 @@ impl FlowContext : RootLayout {
self.assign_height_block(ctx);
}
- fn build_display_list_root(@self, builder: &dl::DisplayListBuilder, dirty: &Rect<au>,
- offset: &Point2D<au>, list: &dl::DisplayList) {
+ fn build_display_list_root(@self, builder: &dl::DisplayListBuilder, dirty: &Rect<Au>,
+ offset: &Point2D<Au>, list: &dl::DisplayList) {
assert self.starts_root_flow();
self.build_display_list_block(builder, dirty, offset, list);