Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 29c09d1e7aec139fc51bbd8b16b6b38f1f8b2f26..71b81a1fa2b4ae1b2d355a22e00379a3b3e76102 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1595,7 +1595,7 @@ void SkCanvas::drawPoints(PointMode mode, size_t count, const SkPoint pts[], |
if (2 == count) { |
r.set(pts[0], pts[1]); |
} else { |
- r.set(pts, count); |
+ r.set(pts, SkToInt(count)); |
} |
SkRect storage; |
if (this->quickReject(paint.computeFastStrokeBounds(r, &storage))) { |