mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update to latest rust-layers
We now need to pass through the content age of the LayerBuffer when creating it.
This commit is contained in:
parent
5b2e08bb5c
commit
ebfe8df2a0
2 changed files with 4 additions and 1 deletions
|
@ -372,6 +372,7 @@ impl<C:RenderListener + Send> RenderTask<C> {
|
|||
buffer.resolution = scale;
|
||||
buffer.native_surface.mark_wont_leak();
|
||||
buffer.painted_with_cpu = true;
|
||||
buffer.content_age = tile.content_age;
|
||||
buffer
|
||||
}
|
||||
None => {
|
||||
|
@ -391,6 +392,7 @@ impl<C:RenderListener + Send> RenderTask<C> {
|
|||
resolution: scale,
|
||||
stride: (width * 4) as uint,
|
||||
painted_with_cpu: true,
|
||||
content_age: tile.content_age,
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -422,6 +424,7 @@ impl<C:RenderListener + Send> RenderTask<C> {
|
|||
resolution: scale,
|
||||
stride: (width * 4) as uint,
|
||||
painted_with_cpu: false,
|
||||
content_age: tile.content_age,
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue