mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Use u32 for outstanding_paint_msgs.
This commit is contained in:
parent
55f9bd5d6f
commit
6f05750956
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ pub struct IOCompositor<Window: WindowMethods> {
|
|||
shutdown_state: ShutdownState,
|
||||
|
||||
/// Tracks outstanding paint_msg's sent to the paint tasks.
|
||||
outstanding_paint_msgs: uint,
|
||||
outstanding_paint_msgs: u32,
|
||||
|
||||
/// Tracks the last composite time.
|
||||
last_composite_time: u64,
|
||||
|
@ -463,7 +463,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
self.has_paint_msg_tracking() && self.outstanding_paint_msgs > 0
|
||||
}
|
||||
|
||||
fn add_outstanding_paint_msg(&mut self, count: uint) {
|
||||
fn add_outstanding_paint_msg(&mut self, count: u32) {
|
||||
// return early if not tracking paint_msg's
|
||||
if !self.has_paint_msg_tracking() {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue