mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove int_uint feature from gfx.
This commit is contained in:
parent
a277036dd9
commit
a68fa74f4b
13 changed files with 103 additions and 97 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue