mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove unused SharedLayoutContext::layout_chan.
This commit is contained in:
parent
3c794d0076
commit
1c11bd09df
2 changed files with 1 additions and 6 deletions
|
@ -20,7 +20,7 @@ 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};
|
||||
use script::layout_interface::{Animation, LayoutChan, ReflowGoal};
|
||||
use script::layout_interface::{Animation, ReflowGoal};
|
||||
use std::cell::{RefCell, RefMut};
|
||||
use std::collections::HashMap;
|
||||
use std::collections::hash_state::DefaultState;
|
||||
|
@ -91,9 +91,6 @@ pub struct SharedLayoutContext {
|
|||
/// A channel up to the constellation.
|
||||
pub constellation_chan: ConstellationChan,
|
||||
|
||||
/// A channel up to the layout task.
|
||||
pub layout_chan: LayoutChan,
|
||||
|
||||
/// Interface to the font cache task.
|
||||
pub font_cache_task: FontCacheTask,
|
||||
|
||||
|
@ -130,7 +127,6 @@ pub struct SharedLayoutContext {
|
|||
// XXX UNSOUND!!! for image_cache_task
|
||||
// XXX UNSOUND!!! for image_cache_sender
|
||||
// XXX UNSOUND!!! for constellation_chan
|
||||
// XXX UNSOUND!!! for layout_chan
|
||||
// XXX UNSOUND!!! for font_cache_task
|
||||
// XXX UNSOUND!!! for stylist
|
||||
// XXX UNSOUND!!! for new_animations_sender
|
||||
|
|
|
@ -456,7 +456,6 @@ impl LayoutTask {
|
|||
viewport_size: rw_data.viewport_size.clone(),
|
||||
screen_size_changed: screen_size_changed,
|
||||
constellation_chan: rw_data.constellation_chan.clone(),
|
||||
layout_chan: self.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