auto merge of #2387 : glennw/servo/image-fixups, r=Ms2ger

This commit is contained in:
bors-servo 2014-05-09 16:31:24 -04:00
commit eb67f69b2d
2 changed files with 2 additions and 2 deletions

View file

@ -757,7 +757,7 @@ impl IOCompositor {
width: width as u32,
height: height as u32,
color_type: png::RGB8,
pixels: pixels.move_iter().collect(),
pixels: pixels,
};
let res = png::store_png(&img, &path);
assert!(res.is_ok());

View file

@ -168,7 +168,7 @@ fn check_reftest(reftest: Reftest) {
width: left.width,
height: left.height,
color_type: png::RGBA8,
pixels: pixels.move_iter().collect(),
pixels: pixels,
};
let res = png::store_png(&img, &output);
assert!(res.is_ok());