aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/imagescalealigned.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/imagescalealigned.cpp')
-rw-r--r--gm/imagescalealigned.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/imagescalealigned.cpp b/gm/imagescalealigned.cpp
index 3d74f0edf8..a1f67410f1 100644
--- a/gm/imagescalealigned.cpp
+++ b/gm/imagescalealigned.cpp
@@ -84,7 +84,7 @@ private:
surface->getCanvas()->drawRect(border, paint);
paint.setColor(SK_ColorBLACK);
- surface->getCanvas()->drawLine(start.x(), start.y(), end.x(), end.y(), paint);
+ surface->getCanvas()->drawLine(start, end, paint);
paint.reset();
paint.setColor(color);