mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Wrap SharedLayoutContext::image_cache_sender in a Mutex.
This commit is contained in:
parent
1c11bd09df
commit
bcd541c02c
2 changed files with 5 additions and 6 deletions
|
@ -452,7 +452,7 @@ impl LayoutTask {
|
|||
-> SharedLayoutContext {
|
||||
SharedLayoutContext {
|
||||
image_cache_task: rw_data.image_cache_task.clone(),
|
||||
image_cache_sender: self.image_cache_sender.clone(),
|
||||
image_cache_sender: Mutex::new(self.image_cache_sender.clone()),
|
||||
viewport_size: rw_data.viewport_size.clone(),
|
||||
screen_size_changed: screen_size_changed,
|
||||
constellation_chan: rw_data.constellation_chan.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue