Auto merge of #5642 - aneeshusa:arc-box-image-to-arc-image, r=Ms2ger

Image used to be a trait, but no longer is, so boxing it is no longer
necessary. Fixes #5639.
This commit is contained in:
bors-servo 2015-04-14 01:57:07 -05:00
commit b7f59a3646
7 changed files with 13 additions and 13 deletions

View file

@ -414,7 +414,7 @@ impl FragmentDisplayListBuilding for Fragment {
// Use `background-size` to get the size.
let mut bounds = *absolute_bounds;
let image_size = self.compute_background_image_size(style, &bounds, &**image);
let image_size = self.compute_background_image_size(style, &bounds, &*image);
// Clip.
//
@ -1016,7 +1016,7 @@ impl FragmentDisplayListBuilding for Fragment {
&*self.style,
Cursor::DefaultCursor),
(*clip).clone()),
image: Arc::new(box png::Image {
image: Arc::new(png::Image {
width: width as u32,
height: height as u32,
pixels: PixelsByColorType::RGBA8(canvas_data),