mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fixed #3386.
This commit is contained in:
parent
1b251db732
commit
670ca9894e
7 changed files with 59 additions and 8 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue