diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2018-10-06 11:41:48 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2018-10-06 11:41:48 +0200 |
commit | 241dba064ded04b3b2f97b098db637ce58cf9e19 (patch) | |
tree | 6a4bb19c4812ee7ae835c5da68edfd44279bec2e /components/canvas_traits/canvas.rs | |
parent | f13e35b2c55f6ee044373ef26874230800f11c00 (diff) | |
download | servo-241dba064ded04b3b2f97b098db637ce58cf9e19.tar.gz servo-241dba064ded04b3b2f97b098db637ce58cf9e19.zip |
Align ctx.createImageData and ctx.getImageData with the spec
Diffstat (limited to 'components/canvas_traits/canvas.rs')
-rw-r--r-- | components/canvas_traits/canvas.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/canvas_traits/canvas.rs b/components/canvas_traits/canvas.rs index 4833f26262f..8e452c93aff 100644 --- a/components/canvas_traits/canvas.rs +++ b/components/canvas_traits/canvas.rs @@ -50,7 +50,7 @@ pub enum Canvas2dMsg { Fill, FillText(String, f64, f64, Option<f64>), FillRect(Rect<f32>), - GetImageData(Rect<i32>, Size2D<f64>, IpcBytesSender), + GetImageData(Rect<i32>, Size2D<i32>, IpcBytesSender), IsPointInPath(f64, f64, FillRule, IpcSender<bool>), LineTo(Point2D<f32>), MoveTo(Point2D<f32>), |