mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #8517 - rillian:rippy, r=larsbergstrom
Use the correct .png extension for the image placeholder. This was changed to the mozilla broken image resource without changing the filename, even though the file type changed. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8517) <!-- Reviewable:end -->
This commit is contained in:
commit
3f1b62d7d8
3 changed files with 2 additions and 2 deletions
|
@ -460,7 +460,7 @@ pub fn new_image_cache_task(resource_task: ResourceTask) -> ImageCacheTask {
|
|||
|
||||
// Preload the placeholder image, used when images fail to load.
|
||||
let mut placeholder_path = resources_dir_path();
|
||||
placeholder_path.push("rippy.jpg");
|
||||
placeholder_path.push("rippy.png");
|
||||
|
||||
let mut image_data = vec![];
|
||||
let result = File::open(&placeholder_path).and_then(|mut file| {
|
||||
|
|
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 253 B |
|
@ -1 +1 @@
|
|||
<img width="100px" height="100px" src="rippy.jpg">
|
||||
<img width="100px" height="100px" src="rippy.png">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue