mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use i32 instead of isize in Au methods.
This commit is contained in:
parent
8b522f2e7d
commit
b1ecba9f3d
6 changed files with 23 additions and 23 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue