Clean up spacing

This commit is contained in:
Paul Padier 2016-03-08 18:15:16 +09:00
parent 1e8e5d61d2
commit 86dcef1455

View file

@ -537,10 +537,7 @@ impl<'a> CanvasPaintThread<'a> {
}) })
} }
fn image_data(&self, fn image_data(&self, dest_rect: Rect<i32>, canvas_size: Size2D<f64>, chan: IpcSender<Vec<u8>>) {
dest_rect: Rect<i32>,
canvas_size: Size2D<f64>,
chan: IpcSender<Vec<u8>>) {
let mut dest_data = self.read_pixels(dest_rect, canvas_size); let mut dest_data = self.read_pixels(dest_rect, canvas_size);
// bgra -> rgba // bgra -> rgba