aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/canvas_msg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/canvas/canvas_msg.rs')
-rw-r--r--components/canvas/canvas_msg.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/canvas/canvas_msg.rs b/components/canvas/canvas_msg.rs
index 3d21da3ae0a..86e1dcc6f81 100644
--- a/components/canvas/canvas_msg.rs
+++ b/components/canvas/canvas_msg.rs
@@ -33,6 +33,7 @@ pub enum Canvas2dMsg {
MoveTo(Point2D<f32>),
PutImageData(Vec<u8>, Rect<f64>, Option<Rect<f64>>),
QuadraticCurveTo(Point2D<f32>, Point2D<f32>),
+ Rect(Rect<f32>),
RestoreContext,
SaveContext,
StrokeRect(Rect<f32>),