mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Cleanup compilation warning.
This commit is contained in:
parent
6927bf6ff0
commit
a2fea4c093
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ impl<'a> CanvasRenderingContext2DMethods for JSRef<'a, CanvasRenderingContext2D>
|
|||
}
|
||||
|
||||
fn LineTo(self, x: f64, y: f64) {
|
||||
self.renderer.send(CanvasMsg::LineTo(Point2D(x as f32, y as f32)));
|
||||
self.renderer.send(CanvasMsg::LineTo(Point2D(x as f32, y as f32))).unwrap();
|
||||
}
|
||||
|
||||
fn BezierCurveTo(self, cp1x: f64, cp1y: f64, cp2x: f64, cp2y: f64, x: f64, y: f64) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue