Pass a Rect instead of an Option<Rect> to PutImageData

This commit is contained in:
David Zbarsky 2015-08-08 04:50:55 -04:00
parent 78792cced2
commit 48c24f8492
3 changed files with 5 additions and 14 deletions

View file

@ -91,7 +91,7 @@ pub enum Canvas2dMsg {
GetImageData(Rect<f64>, Size2D<f64>, IpcSender<Vec<u8>>),
LineTo(Point2D<f32>),
MoveTo(Point2D<f32>),
PutImageData(Vec<u8>, Rect<f64>, Option<Rect<f64>>),
PutImageData(Vec<u8>, Rect<f64>, Rect<f64>),
QuadraticCurveTo(Point2D<f32>, Point2D<f32>),
Rect(Rect<f32>),
RestoreContext,