Index: src/gpu/GrSoftwarePathRenderer.cpp |
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp |
index 45a4b78b18614dff6e2ebc6bde24a61c7ad4843c..983bd20cbe8a87743fcbc631cc5349b8b658fddf 100644 |
--- a/src/gpu/GrSoftwarePathRenderer.cpp |
+++ b/src/gpu/GrSoftwarePathRenderer.cpp |
@@ -38,7 +38,8 @@ |
*devShapeBounds = SkIRect::MakeWH(width, height); |
return false; |
} |
- SkRect shapeBounds = shape.styledBounds(); |
+ SkRect shapeBounds; |
+ shape.styledBounds(&shapeBounds); |
if (!shapeBounds.isEmpty()) { |
SkRect shapeSBounds; |
matrix.mapRect(&shapeSBounds, shapeBounds); |