mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
layout: Reformat some long lines and fix some whitespace issues.
This commit is contained in:
parent
af8fcdf073
commit
757e2cf4e5
4 changed files with 52 additions and 25 deletions
|
@ -204,9 +204,8 @@ impl<'a> LayoutContext<'a> {
|
|||
}
|
||||
// Not yet requested, async mode - request image from the cache
|
||||
(ImageState::NotRequested, false) => {
|
||||
self.shared.image_cache_task.request_image(url,
|
||||
self.shared.image_cache_sender.clone(),
|
||||
None);
|
||||
self.shared.image_cache_task
|
||||
.request_image(url, self.shared.image_cache_sender.clone(), None);
|
||||
None
|
||||
}
|
||||
// Image has been requested, is still pending. Return no image
|
||||
|
@ -218,3 +217,4 @@ impl<'a> LayoutContext<'a> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue