Index: src/pdf/SkPDFDeviceFlattener.cpp |
=================================================================== |
--- src/pdf/SkPDFDeviceFlattener.cpp (revision 12322) |
+++ src/pdf/SkPDFDeviceFlattener.cpp (working copy) |
@@ -43,7 +43,7 @@ |
flattenPaint(d, &paintFlatten); |
SkPoint* flattenedPoints = SkNEW_ARRAY(SkPoint, count); |
- d.fMatrix->mapPoints(flattenedPoints, points, count); |
+ d.fMatrix->mapPoints(flattenedPoints, points, SkToS32(count)); |
SkDraw draw(d); |
SkMatrix identity = SkMatrix::I(); |
draw.fMatrix = &identity; |