Fix spelling mistakes in comments.

This commit is contained in:
Joseph Crail 2014-12-01 19:21:19 -05:00
parent 9f8dda7abc
commit c254d195ad
24 changed files with 42 additions and 42 deletions

View file

@ -138,7 +138,7 @@ struct ImageCache {
port: Receiver<Msg>,
/// A copy of the shared chan to give to child tasks
chan: Sender<Msg>,
/// The state of processsing an image for a URL
/// The state of processing an image for a URL
state_map: HashMap<Url, ImageState>,
/// List of clients waiting on a WaitForImage response
wait_map: HashMap<Url, Arc<Mutex<Vec<Sender<ImageResponseMsg>>>>>,

View file

@ -124,7 +124,7 @@ impl<NodeAddress: Send> LocalImageCache<NodeAddress> {
// Need to reflow when the image is available
// FIXME: Instead we should be just passing a Future
// to the caller, then to the display list. Finally,
// the compositor should be resonsible for waiting
// the compositor should be responsible for waiting
// on the image to load and triggering layout
let image_cache_task = self.image_cache_task.clone();
assert!(self.on_image_available.is_some());