mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
stylo: Track the last restyle generation properly.
I couldn't reproduce locally, but I believe this fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1323890
This commit is contained in:
parent
be896712ac
commit
3db6514252
2 changed files with 11 additions and 1 deletions
|
@ -106,7 +106,7 @@ fn create_shared_context(mut per_doc_data: &mut AtomicRefMut<PerDocumentStyleDat
|
|||
// FIXME (bug 1303229): Use the actual viewport size here
|
||||
viewport_size: Size2D::new(Au(0), Au(0)),
|
||||
screen_size_changed: false,
|
||||
generation: 0,
|
||||
generation: per_doc_data.next_generation(),
|
||||
goal: ReflowGoal::ForScriptQuery,
|
||||
stylist: per_doc_data.stylist.clone(),
|
||||
running_animations: per_doc_data.running_animations.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue