Remove int_uint feature from gfx.

This commit is contained in:
Josh Matthews 2015-04-07 11:58:28 -04:00
parent a277036dd9
commit a68fa74f4b
13 changed files with 103 additions and 97 deletions

View file

@ -123,7 +123,7 @@ pub struct PaintTask<C> {
/// Tracks the number of buffers that the compositor currently owns. The
/// PaintTask waits to exit until all buffers are returned.
used_buffer_count: uint,
used_buffer_count: usize,
}
// If we implement this as a function, we get borrowck errors from borrowing
@ -324,7 +324,7 @@ impl<C> PaintTask<C> where C: PaintListener + Send + 'static {
rect: tile.page_rect,
screen_pos: tile.screen_rect,
resolution: scale,
stride: (width * 4) as uint,
stride: (width * 4) as usize,
painted_with_cpu: true,
content_age: tile.content_age,
})
@ -619,7 +619,7 @@ impl WorkerThread {
rect: tile.page_rect,
screen_pos: tile.screen_rect,
resolution: scale,
stride: (tile.screen_rect.size.width * 4) as uint,
stride: (tile.screen_rect.size.width * 4),
painted_with_cpu: false,
content_age: tile.content_age,
}