diff options
author | David Zbarsky <dzbarsky@gmail.com> | 2015-08-08 04:50:55 -0400 |
---|---|---|
committer | David Zbarsky <dzbarsky@gmail.com> | 2015-08-08 04:50:55 -0400 |
commit | 48c24f84925affa51cc1729fe5230cb7548deda0 (patch) | |
tree | 46c97949a4758fe8eb7f9633934da72ba9579534 /components/canvas_traits/lib.rs | |
parent | 78792cced2c4f1702a0bc2039bdebf07f8bcd901 (diff) | |
download | servo-48c24f84925affa51cc1729fe5230cb7548deda0.tar.gz servo-48c24f84925affa51cc1729fe5230cb7548deda0.zip |
Pass a Rect instead of an Option<Rect> to PutImageData
Diffstat (limited to 'components/canvas_traits/lib.rs')
-rw-r--r-- | components/canvas_traits/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/canvas_traits/lib.rs b/components/canvas_traits/lib.rs index 48cabed045c..f7abcb49dee 100644 --- a/components/canvas_traits/lib.rs +++ b/components/canvas_traits/lib.rs @@ -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, |