mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
auto merge of #5416 : Ms2ger/servo/int, r=jdm
This commit is contained in:
commit
674e52afa1
17 changed files with 64 additions and 70 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