mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove unused SharedLayoutContext::constellation_chan.
This commit is contained in:
parent
bcd541c02c
commit
32bb4044fd
2 changed files with 0 additions and 6 deletions
|
@ -16,7 +16,6 @@ use gfx::font_cache_task::FontCacheTask;
|
|||
use gfx::font_context::FontContext;
|
||||
use ipc_channel::ipc::{self, IpcSender};
|
||||
use msg::compositor_msg::LayerId;
|
||||
use msg::constellation_msg::ConstellationChan;
|
||||
use net_traits::image::base::Image;
|
||||
use net_traits::image_cache_task::{ImageCacheChan, ImageCacheTask, ImageResponse, ImageState};
|
||||
use net_traits::image_cache_task::{UsePlaceholder};
|
||||
|
@ -88,9 +87,6 @@ pub struct SharedLayoutContext {
|
|||
/// Screen sized changed?
|
||||
pub screen_size_changed: bool,
|
||||
|
||||
/// A channel up to the constellation.
|
||||
pub constellation_chan: ConstellationChan,
|
||||
|
||||
/// Interface to the font cache task.
|
||||
pub font_cache_task: FontCacheTask,
|
||||
|
||||
|
@ -125,7 +121,6 @@ pub struct SharedLayoutContext {
|
|||
|
||||
// FIXME(#6569) This implementations is unsound:
|
||||
// XXX UNSOUND!!! for image_cache_task
|
||||
// XXX UNSOUND!!! for constellation_chan
|
||||
// XXX UNSOUND!!! for font_cache_task
|
||||
// XXX UNSOUND!!! for stylist
|
||||
// XXX UNSOUND!!! for new_animations_sender
|
||||
|
|
|
@ -455,7 +455,6 @@ impl LayoutTask {
|
|||
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(),
|
||||
font_cache_task: self.font_cache_task.clone(),
|
||||
canvas_layers_sender: self.canvas_layers_sender.clone(),
|
||||
stylist: &*rw_data.stylist,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue