mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
This was done already on #5783, maybe was reintroduced by mistake.
This commit is contained in:
parent
02cf89f4d3
commit
2aa95f6928
1 changed files with 0 additions and 1 deletions
|
@ -329,7 +329,6 @@ pub fn new_image_cache_task(resource_task: ResourceTask) -> ImageCacheTask {
|
|||
|
||||
// Preload the placeholder image, used when images fail to load.
|
||||
let mut placeholder_url = resources_dir_path();
|
||||
// TODO (Savago): replace for a prettier one.
|
||||
placeholder_url.push("rippy.jpg");
|
||||
let url = Url::from_file_path(&*placeholder_url).unwrap();
|
||||
let placeholder_image = match load_whole_resource(&resource_task, url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue