This commit is contained in:
Clark Gaebel 2014-09-17 15:36:50 -07:00
parent 1b251db732
commit 670ca9894e
7 changed files with 59 additions and 8 deletions

View file

@ -79,6 +79,10 @@ pub struct SharedLayoutContext {
/// The dirty rectangle, used during display list building.
pub dirty: Rect<Au>,
/// Starts at zero, and increased by one every time a layout completes.
/// This can be used to easily check for invalid stale data.
pub generation: uint,
}
pub struct LayoutContext<'a> {