| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index 7cdb743a491388ab8b4f73fe801a82587a9ceca4..b90193f01407cebaa0e477bcd0a3bd8bdb5e445e 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -560,7 +560,8 @@ void GrDrawTarget::drawPaths(int pathCount, const GrPath** paths,
|
| const GrDrawState* drawState = &getDrawState();
|
|
|
| SkRect devBounds;
|
| - for (int i = 0; i < pathCount; ++i) {
|
| + transforms[0].mapRect(&devBounds, paths[0]->getBounds());
|
| + for (int i = 1; i < pathCount; ++i) {
|
| SkRect mappedPathBounds;
|
| transforms[i].mapRect(&mappedPathBounds, paths[i]->getBounds());
|
| devBounds.join(mappedPathBounds);
|
|
|