Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index 8d3ded2d65c82f33307041a013787c048b562365..ba51369e669f85f6e2b4dc95914ca32c886a1882 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -548,7 +548,7 @@ void GrDrawTarget::drawPath(const GrPath* path, SkPath::FillType fill) { |
this->onDrawPath(path, fill, dstCopy.texture() ? &dstCopy : NULL); |
} |
-void GrDrawTarget::drawPaths(size_t pathCount, const GrPath** paths, |
+void GrDrawTarget::drawPaths(int pathCount, const GrPath** paths, |
const SkMatrix* transforms, |
SkPath::FillType fill, SkStrokeRec::Style stroke) { |
SkASSERT(pathCount > 0); |
@@ -560,7 +560,7 @@ void GrDrawTarget::drawPaths(size_t pathCount, const GrPath** paths, |
const GrDrawState* drawState = &getDrawState(); |
SkRect devBounds; |
- for (size_t i = 0; i < pathCount; ++i) { |
+ for (int i = 0; i < pathCount; ++i) { |
SkRect mappedPathBounds; |
transforms[i].mapRect(&mappedPathBounds, paths[i]->getBounds()); |
devBounds.join(mappedPathBounds); |