Use i32 instead of isize in Au methods.

This commit is contained in:
Simon Sapin 2015-05-05 18:40:00 +02:00
parent 8b522f2e7d
commit b1ecba9f3d
6 changed files with 23 additions and 23 deletions

View file

@ -575,8 +575,8 @@ impl WorkerThread {
// painted this tile.
let color = THREAD_TINT_COLORS[thread_id % THREAD_TINT_COLORS.len()];
paint_context.draw_solid_color(&Rect(Point2D(Au(0), Au(0)),
Size2D(Au::from_px(size.width as isize),
Au::from_px(size.height as isize))),
Size2D(Au::from_px(size.width),
Au::from_px(size.height))),
color);
}
}