mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Wrap SharedLayoutContext::new_animations_sender in a Mutex.
This commit is contained in:
parent
552a03fde6
commit
8fc75704c9
4 changed files with 10 additions and 11 deletions
|
@ -461,7 +461,7 @@ impl LayoutTask {
|
|||
url: (*url).clone(),
|
||||
visible_rects: rw_data.visible_rects.clone(),
|
||||
generation: rw_data.generation,
|
||||
new_animations_sender: rw_data.new_animations_sender.clone(),
|
||||
new_animations_sender: Mutex::new(rw_data.new_animations_sender.clone()),
|
||||
goal: goal,
|
||||
running_animations: rw_data.running_animations.clone(),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue