mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix spelling mistakes in comments.
This commit is contained in:
parent
9f8dda7abc
commit
c254d195ad
24 changed files with 42 additions and 42 deletions
|
@ -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>>>>>,
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue