Index: src/gpu/gl/GrGpuGL.cpp |
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp |
index dc2ef7d84efe0d0ef4dd86f36226078ccc74f4fd..7dd71a93d76cd7601e7a72be35b7da7c674d90b1 100644 |
--- a/src/gpu/gl/GrGpuGL.cpp |
+++ b/src/gpu/gl/GrGpuGL.cpp |
@@ -1691,7 +1691,7 @@ void GrGpuGL::onGpuDrawPath(const GrPath* path, SkPath::FillType fill) { |
} |
} |
-void GrGpuGL::onGpuDrawPaths(size_t pathCount, const GrPath** paths, |
+void GrGpuGL::onGpuDrawPaths(int pathCount, const GrPath** paths, |
const SkMatrix* transforms, |
SkPath::FillType fill, |
SkStrokeRec::Style stroke) { |
@@ -1707,7 +1707,7 @@ void GrGpuGL::onGpuDrawPaths(size_t pathCount, const GrPath** paths, |
reinterpret_cast<GrGLfloat*>(transformData.get()); |
GrGLuint* pathIDs = reinterpret_cast<GrGLuint*>(pathData.get()); |
- for (size_t i = 0; i < pathCount; ++i) { |
+ for (int i = 0; i < pathCount; ++i) { |
SkASSERT(transforms[i].asAffine(NULL)); |
const SkMatrix& m = transforms[i]; |
transformValues[i * 6] = m.getScaleX(); |