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:
Martin Robinson 2014-08-02 18:25:18 -07:00
parent 5b2e08bb5c
commit ebfe8df2a0
2 changed files with 4 additions and 1 deletions

View file

@ -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,
}
}
};