mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Pass pending restyles instead of draining them from layout
This commit is contained in:
parent
400c7012b1
commit
60ca98b753
7 changed files with 26 additions and 42 deletions
|
@ -219,6 +219,8 @@ pub struct ScriptReflow {
|
|||
pub dom_count: u32,
|
||||
/// The current window origin
|
||||
pub origin: ImmutableOrigin,
|
||||
/// Restyle snapshot map.
|
||||
pub pending_restyles: Vec<(TrustedNodeAddress, PendingRestyle)>,
|
||||
}
|
||||
|
||||
pub struct LayoutThreadInit {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue