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:
bors-servo 2015-11-14 01:18:08 +05:30
commit 3f1b62d7d8
3 changed files with 2 additions and 2 deletions

View file

@ -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| {

View file

Before

Width:  |  Height:  |  Size: 253 B

After

Width:  |  Height:  |  Size: 253 B

Before After
Before After

View file

@ -1 +1 @@
<img width="100px" height="100px" src="rippy.jpg">
<img width="100px" height="100px" src="rippy.png">